[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RFC 3/6] i386: kvm: bit 10 of CPUID[8000_0001].EDX is rese
From: |
Eduardo Habkost |
Subject: |
[Qemu-devel] [RFC 3/6] i386: kvm: bit 10 of CPUID[8000_0001].EDX is reserved |
Date: |
Fri, 17 Aug 2012 14:53:39 -0300 |
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 <address@hidden>
---
target-i386/kvm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target-i386/kvm.c b/target-i386/kvm.c
index 696b14a..bab1ef8 100644
--- a/target-i386/kvm.c
+++ b/target-i386/kvm.c
@@ -163,7 +163,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;
--
1.7.11.2
- [Qemu-devel] [RFC 0/6] i386: CPU: remove duplicate feature names, Eduardo Habkost, 2012/08/17
- [Qemu-devel] [RFC 4/6] i386: kvm: use a #define for the set of alias feature bits, Eduardo Habkost, 2012/08/17
- [Qemu-devel] [RFC 2/6] i386: kill cpudef config section support, Eduardo Habkost, 2012/08/17
- [Qemu-devel] [RFC 3/6] i386: kvm: bit 10 of CPUID[8000_0001].EDX is reserved,
Eduardo Habkost <=
- [Qemu-devel] [RFC 1/6] x86_cpudef_setup: coding style change, Eduardo Habkost, 2012/08/17
- [Qemu-devel] [RFC 6/6] i386: -cpu help: remove reference to specific CPUID leaves/registers, Eduardo Habkost, 2012/08/17
- [Qemu-devel] [RFC 5/6] i386: cpu: eliminate duplicate feature names, Eduardo Habkost, 2012/08/17
- Re: [Qemu-devel] [RFC 0/6] i386: CPU: remove duplicate feature names, Igor Mammedov, 2012/08/20