diff options
author | Andre Przywara <andre.przywara@amd.com> | 2009-06-25 00:08:01 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-06-29 13:52:11 -0500 |
commit | f5704e7861e2f8a7430ac5f69b81be693f99d6c3 (patch) | |
tree | 7d3d7f465b8348d3625431a51373d7998b082269 /target-i386/helper.c | |
parent | 6ff263a6f5ba832675f47fd084850ebae64088a3 (diff) | |
download | qemu-f5704e7861e2f8a7430ac5f69b81be693f99d6c3.tar.gz qemu-f5704e7861e2f8a7430ac5f69b81be693f99d6c3.tar.bz2 qemu-f5704e7861e2f8a7430ac5f69b81be693f99d6c3.zip |
CPUID Fn8000_0001.EAX is family/model/stepping, not features
Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'target-i386/helper.c')
-rw-r--r-- | target-i386/helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/helper.c b/target-i386/helper.c index d7563f7bbd..d4498e57c1 100644 --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -1651,7 +1651,7 @@ void cpu_x86_cpuid(CPUX86State *env, uint32_t index, uint32_t count, *ecx = env->cpuid_vendor3; break; case 0x80000001: - *eax = env->cpuid_features; + *eax = env->cpuid_version; *ebx = 0; *ecx = env->cpuid_ext3_features; *edx = env->cpuid_ext2_features; |