qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [COMMIT f441bee] CPUID Fn8000_0001.EAX is family/model/s


From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT f441bee] CPUID Fn8000_0001.EAX is family/model/stepping, not features
Date: Tue, 30 Jun 2009 00:57:35 -0000

From: Andre Przywara <address@hidden>

Signed-off-by: Andre Przywara <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>

diff --git a/target-i386/helper.c b/target-i386/helper.c
index d7563f7..d4498e5 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;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]