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

Jiri Denemark posted 2 patches 6 years, 4 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1512652445.git.jdenemar@redhat.com
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(-)
[libvirt] [PATCH 0/2] qemu: Fix upgrade with running domains with host-model CPUs
Posted by Jiri Denemark 6 years, 4 months ago
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.

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

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(-)

-- 
2.15.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH 0/2] qemu: Fix upgrade with running domains with host-model CPUs
Posted by Ján Tomko 6 years, 4 months ago
On Thu, Dec 07, 2017 at 02:20:05PM +0100, Jiri Denemark wrote:
>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.
>
>https://bugzilla.redhat.com/show_bug.cgi?id=1521202
>
>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(-)

ACK series

Jan
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list