diff options
author | Andi Kleen <andi@firstfloor.org> | 2010-06-26 22:54:21 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-07-02 01:55:38 +0200 |
commit | 8713f8ffb87a28c94b4f22b9a9ec16c55381187e (patch) | |
tree | 7119e02183b9773ea4dc969a6a7ae5384afc6921 | |
parent | c045af25a52e9aa69c96bf8af4e4c639f657b08f (diff) | |
download | qemu-8713f8ffb87a28c94b4f22b9a9ec16c55381187e.zip qemu-8713f8ffb87a28c94b4f22b9a9ec16c55381187e.tar.gz qemu-8713f8ffb87a28c94b4f22b9a9ec16c55381187e.tar.bz2 |
Don't declare XSAVE as supported
i386 cpuid.c currently claims XSAVE is supported in the CPUID filter,
but that's not true: Only FXSAVE is supported. Remove that bit
from the filter.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
-rw-r--r-- | target-i386/cpuid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-i386/cpuid.c b/target-i386/cpuid.c index 83057bd..dcfd81b 100644 --- a/target-i386/cpuid.c +++ b/target-i386/cpuid.c @@ -241,11 +241,11 @@ typedef struct x86_def_t { /* missing: CPUID_VME, CPUID_DTS, CPUID_SS, CPUID_HT, CPUID_TM, CPUID_PBE */ #define TCG_EXT_FEATURES (CPUID_EXT_SSE3 | CPUID_EXT_MONITOR | \ - CPUID_EXT_CX16 | CPUID_EXT_POPCNT | CPUID_EXT_XSAVE | \ + CPUID_EXT_CX16 | CPUID_EXT_POPCNT | \ CPUID_EXT_HYPERVISOR) /* missing: CPUID_EXT_DTES64, CPUID_EXT_DSCPL, CPUID_EXT_VMX, CPUID_EXT_EST, - CPUID_EXT_TM2, CPUID_EXT_XTPR, CPUID_EXT_PDCM */ + CPUID_EXT_TM2, CPUID_EXT_XTPR, CPUID_EXT_PDCM, CPUID_EXT_XSAVE */ #define TCG_EXT2_FEATURES ((TCG_FEATURES & EXT2_FEATURE_MASK) | \ CPUID_EXT2_NX | CPUID_EXT2_MMXEXT | CPUID_EXT2_RDTSCP | \ CPUID_EXT2_3DNOW | CPUID_EXT2_3DNOWEXT) |