]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Pass migratable host CPU model to virCPUUpdate
authorJiri Denemark <jdenemar@redhat.com>
Wed, 29 Mar 2017 13:31:17 +0000 (15:31 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 19 Apr 2017 14:36:38 +0000 (16:36 +0200)
commit56bd7edcb5dc878beffb80d4e6a9cfb812378ded
treea26dc9ff8d25a41253ab0b7a34ad87b888e23d6d
parent1fe517c68df92eb7f379fa87cb0d29d566aad6f4
qemu: Pass migratable host CPU model to virCPUUpdate

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@redhat.com>
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
src/qemu/qemu_process.c
tests/cputest.c