Commit f441bee871fa251d73cfcd63120f1dc76314b289
Committed by
Anthony Liguori
1 parent
fe4bce09
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>
Showing
1 changed file
with
1 additions
and
1 deletions
target-i386/helper.c
... | ... | @@ -1651,7 +1651,7 @@ void cpu_x86_cpuid(CPUX86State *env, uint32_t index, uint32_t count, |
1651 | 1651 | *ecx = env->cpuid_vendor3; |
1652 | 1652 | break; |
1653 | 1653 | case 0x80000001: |
1654 | - *eax = env->cpuid_features; | |
1654 | + *eax = env->cpuid_version; | |
1655 | 1655 | *ebx = 0; |
1656 | 1656 | *ecx = env->cpuid_ext3_features; |
1657 | 1657 | *edx = env->cpuid_ext2_features; | ... | ... |