[RFC 0/2] GET_EMULATED_CPUID support with "allow-emulation" option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: <1379861095-628-7-git-send-email-bp@xxxxxxxxx>
    http://marc.info/?l=kvm&m=137986116331560&w=2

    Message-ID: <20140604204448.GG4105@xxxxxxx>
    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 <bp@xxxxxxxxx>
Cc: Paolo Bonzini <pbonzini@xxxxxxxxxx>
Cc: Alexander Graf <agraf@xxxxxxx>
Cc: "Gabriel L. Somlo" <gsomlo@xxxxxxxxx>
Cc: kvm@xxxxxxxxxxxxxxx
Cc: "Michael S. Tsirkin" <mst@xxxxxxxxxx>
Cc: Michael Mueller <mimu@xxxxxxxxxxxxxxxxxx>
Cc: Christian Borntraeger <borntraeger@xxxxxxxxxx>
Cc: "Jason J. Herne" <jjherne@xxxxxxxxxxxxxxxxxx>
Cc: Andreas Färber <afaerber@xxxxxxx>
Cc: "Jason J. Herne" <jjherne@xxxxxxxxxxxxxxxxxx>

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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux