qemu-devel
[Top][All Lists]
Advanced

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

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


From: Eduardo Habkost
Subject: [Qemu-devel] [RFC 0/2] GET_EMULATED_CPUID support with "allow-emulation" option
Date: Thu, 5 Jun 2014 13:12:19 -0300

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: <address@hidden>
    http://marc.info/?l=kvm&m=137986116331560&w=2

    Message-ID: <address@hidden>
    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 <address@hidden>
Cc: Paolo Bonzini <address@hidden>
Cc: Alexander Graf <address@hidden>
Cc: "Gabriel L. Somlo" <address@hidden>
Cc: address@hidden
Cc: "Michael S. Tsirkin" <address@hidden>
Cc: Michael Mueller <address@hidden>
Cc: Christian Borntraeger <address@hidden>
Cc: "Jason J. Herne" <address@hidden>
Cc: Andreas Färber <address@hidden>
Cc: "Jason J. Herne" <address@hidden>

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]