aboutsummaryrefslogtreecommitdiff
path: root/target-i386/helper.c
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@amd.com>2009-06-25 00:08:01 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-06-29 13:52:11 -0500
commitf441bee871fa251d73cfcd63120f1dc76314b289 (patch)
tree7d3d7f465b8348d3625431a51373d7998b082269 /target-i386/helper.c
parentfe4bce09b62a7ed20efdbe1fa2aaa21d5a258e1f (diff)
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.c2
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;