]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Drop disabled CPU features unknown to QEMU
authorJiri Denemark <jdenemar@redhat.com>
Fri, 18 Oct 2019 12:33:19 +0000 (14:33 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 12 Nov 2019 19:14:16 +0000 (20:14 +0100)
commitac34e141596fab70fbe91a396311f80db6cb57c5
tree4f60df80f1f892fad35ad4cbac60554fd30de6bc
parentae793ecbcbd17b118ef3a876d247abb49574ab0e
qemu: Drop disabled CPU features unknown to QEMU

When a CPU definition wants to explicitly disable some features that are
unknown to QEMU, we can safely drop them from the definition before
starting QEMU. Naturally QEMU won't enable such features implicitly.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/qemu/qemu_process.c
tests/qemuxml2argvdata/cpu-Icelake-Server-pconfig.x86_64-latest.args