This implements GET_SUPPORTED_CPUID support using an explicit option for it:
"allow-emulation". We don't want any emulated feature to be enabled by accident,
so they will be enabled only if the user explicitly wants to allow them.
References to previous patch and discussions:
Message-Id: <[email protected]>
http://marc.info/?l=kvm&m=137986116331560&w=2
Message-ID: <[email protected]>
http://marc.info/?l=kvm&m=140191471903819
This requires a few fixes to the qom-cpu tree which haven't been merged yet.
Git tree:
git://github.com/ehabkost/qemu-hacks.git work/get-emulated-cpuid
Cc: Borislav Petkov <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: Alexander Graf <[email protected]>
Cc: "Gabriel L. Somlo" <[email protected]>
Cc: [email protected]
Cc: "Michael S. Tsirkin" <[email protected]>
Cc: Michael Mueller <[email protected]>
Cc: Christian Borntraeger <[email protected]>
Cc: "Jason J. Herne" <[email protected]>
Cc: Andreas Färber <[email protected]>
Cc: "Jason J. Herne" <[email protected]>
Borislav Petkov (1):
kvm: Implement kvm_arch_get_emulated_cpuid()
Eduardo Habkost (1):
target-i386: Add "allow-emulation" X86CPU property
include/sysemu/kvm.h | 3 +++
target-i386/cpu-qom.h | 3 +++
target-i386/cpu.c | 18 ++++++++++++++----
target-i386/kvm.c | 38 ++++++++++++++++++++++++++++++++++----
4 files changed, 54 insertions(+), 8 deletions(-)
--
1.9.0
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html