[libvirt] [PATCH 0/4] qemu: Fix CPU model broken by older libvirt

Jiri Denemark jdenemar at redhat.com
Wed Oct 11 10:11:13 UTC 2017


When libvirt older than 3.9.0 reconnected to a running domain started by
old libvirt it could have messed up the expansion of host-model by
adding features QEMU does not support (such as cmt). This series fixes
the reconnection code and adds a hack which fixes CPU definitions which
were broken by older libvirt.

https://bugzilla.redhat.com/show_bug.cgi?id=1495171

Jiri Denemark (4):
  qemu: Separate CPU updating code from qemuProcessReconnect
  conf: Introduce virCPUDefFindFeature
  qemu: Filter CPU features when using host CPU
  qemu: Fix CPU model broken by older libvirt

 src/conf/cpu_conf.c      | 40 +++++++++++++++--------
 src/conf/cpu_conf.h      |  4 +++
 src/libvirt_private.syms |  1 +
 src/qemu/qemu_domain.c   | 76 ++++++++++++++++++++++++++++++++++++++++++++
 src/qemu/qemu_domain.h   |  4 +++
 src/qemu/qemu_driver.c   | 14 ++++++++
 src/qemu/qemu_process.c  | 83 ++++++++++++++++++++++++++++++++++--------------
 7 files changed, 186 insertions(+), 36 deletions(-)

-- 
2.14.2




More information about the libvir-list mailing list