[libvirt] [PATCH 6/9] qemu: Pass migratable host CPU model to virCPUUpdate

Pavel Hrdina phrdina at redhat.com
Wed Apr 19 13:51:01 UTC 2017


On Thu, Apr 13, 2017 at 03:32:55PM +0200, Jiri Denemark wrote:
> We already know from QEMU which CPU features will block migration. Let's
> use this information to make a migratable copy of the host CPU model and
> use it for updating guest CPU specification. This will allow us to drop
> feature filtering from virCPUUpdate where it was just a hack.
> 
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  src/qemu/qemu_capabilities.c | 57 +++++++++++++++++++++++++++++++++++++-------
>  src/qemu/qemu_capabilities.h |  2 ++
>  src/qemu/qemu_process.c      |  2 +-
>  tests/cputest.c              |  7 +++++-
>  4 files changed, 57 insertions(+), 11 deletions(-)

ACK

Pavel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170419/b22187d6/attachment-0001.sig>


More information about the libvir-list mailing list