]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Forbid MSR features with old QEMU
authorJiri Denemark <jdenemar@redhat.com>
Wed, 19 Jun 2019 19:59:49 +0000 (21:59 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 20 Jun 2019 12:02:36 +0000 (14:02 +0200)
commit8eb4a89f5f7973f50aa8b6fa0b1a45b825dda208
treefc6a0cc0020c4b32734b6c1d51400e29674d5236
parentc8ec678fd9d97189667c0121f48a220dd26856b7
qemu: Forbid MSR features with old QEMU

Without "unavailable-features" CPU property we cannot properly detect
whether a specific MSR feature we asked for (either explicitly or
implicitly via a CPU model) was disabled by QEMU for some reason.
Because this could break migration, snapshots, and save/restore
operaions, it's better to just forbid any use of MSR features with QEMU
which lacks "unavailable-features" CPU property.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_process.c