• J
    qemu: Don't cache microcode version · cb6bcb03
    Jiri Denemark 提交于
    My earlier commit be46f613 was incomplete. It removed caching of
    microcode version in the CPU driver, which means the capabilities XML
    will see the correct microcode version. But it is also cached in the
    QEMU capabilities cache where it is used to detect whether we need to
    reprobe QEMU. By missing the second place, the original commit
    be46f613 made the situation even worse since libvirt would report
    correct microcode version while still using the old host CPU model
    (visible in domain capabilities XML).
    Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
    Reviewed-by: NJán Tomko <jtomko@redhat.com>
    (cherry picked from commit 673c62a3)
    
    CVE-2018-12126, CVE-2018-12127, CVE-2018-12130
    
    Conflicts:
    	src/qemu/qemu_capabilities.c
                - virQEMUCapsCacheLookupByArch refactoring (commits
                  7948ad41 and 1a3de670) are missing
                - commit a7424faf "Force QMP capability probing" is
                  missing downstream
    Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
    cb6bcb03
testutilsqemu.c 18.0 KB