diff options
author | 2012-09-06 10:05:35 +0000 | |
---|---|---|
committer | 2012-11-21 15:21:06 -0600 | |
commit | faf37b0c8747d30f163f971f5d95be1cfe299b24 (patch) | |
tree | 6a31fcafb3aea8ca1ee822d7082551761ada20d1 | |
parent | fpu/softfloat.c: Return correctly signed values from uint64_to_float32 (diff) | |
download | qemu-kvm-faf37b0c8747d30f163f971f5d95be1cfe299b24.tar.gz qemu-kvm-faf37b0c8747d30f163f971f5d95be1cfe299b24.tar.bz2 qemu-kvm-faf37b0c8747d30f163f971f5d95be1cfe299b24.zip |
i386: kvm: bit 10 of CPUID[8000_0001].EDX is reserved
Bit 10 of CPUID[8000_0001].EDX is not defined as an alias of
CPUID[1].EDX[10], so do not duplicate it on
kvm_arch_get_supported_cpuid().
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-By: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Don Slutz <Don@CloudSwitch.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
(cherry picked from commit b1f4679392a03f2b26a37bfa52e95d6cc4f73d82)
-rw-r--r-- | target-i386/kvm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/kvm.c b/target-i386/kvm.c index d8bbe4ff6..71e6e0d84 100644 --- a/target-i386/kvm.c +++ b/target-i386/kvm.c @@ -157,7 +157,7 @@ uint32_t kvm_arch_get_supported_cpuid(KVMState *s, uint32_t function, * so add missing bits according to the AMD spec: */ cpuid_1_edx = kvm_arch_get_supported_cpuid(s, 1, 0, R_EDX); - ret |= cpuid_1_edx & 0x183f7ff; + ret |= cpuid_1_edx & 0x183f3ff; break; } break; |