[libvirt] [PATCH 0/2] qemu: Fix upgrade with running domains with host-model CPUs

Jiri Denemark jdenemar at redhat.com
Thu Dec 7 13:20:05 UTC 2017

When upgrading old libvirt on a host with EPYC host CPU (or any other
CPU which was added to cpu_map.xml in newer libvirt releases), we would
replace host-model CPU definition for running domains to EPYC even
though a different CPU model was used to start the domain. And sync old
libvirt doesn't know about EPYC, migrating the domain to another host
running the same old libvirt would be impossible.


Jiri Denemark (2):
  qemu: Separate fetching CPU definitions from filling qemuCaps
  qemu: Make sure host-model uses CPU model supported by QEMU

 src/qemu/qemu_capabilities.c | 59 +++++++++++++++++++++++++++-----------------
 src/qemu/qemu_capabilities.h |  1 +
 src/qemu/qemu_process.c      | 30 ++++++++++++++++++++++
 3 files changed, 68 insertions(+), 22 deletions(-)


More information about the libvir-list mailing list