]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Don't verify CPU features with host-passthrough
authorJán Tomko <jtomko@redhat.com>
Mon, 29 Sep 2014 13:58:38 +0000 (15:58 +0200)
committerJán Tomko <jtomko@redhat.com>
Tue, 30 Sep 2014 08:47:02 +0000 (10:47 +0200)
commitec5f817f2e108ef2164bd4cefd9ad37319cc7518
tree43d9ea6c9ba38cfc9cb0596beb0d9272e48acfb6
parente26bbf49cc051b5d5c2a86c572f55953e617e872
Don't verify CPU features with host-passthrough

Commit fba6bc4 introduced the non-migratable invtsc feature,
breaking save/migration with host-model and host-passthrough.

On hosts with this feature present it was automatically included
in the CPU definition, regardless of QEMU support.

Commit de0aeaf stopped including it by default for host-model,
but failed to fix host-passthrough.

This commit ignores checking of CPU features with host-passthrough,
since we don't pass them to QEMU (only -cpu host is passed),
allowing domains using host-passthrough that were saved with
the broken version of libvirtd to be restored.

https://bugzilla.redhat.com/show_bug.cgi?id=1147584
src/qemu/qemu_migration.c
src/qemu/qemu_process.c