mirror of
https://github.com/qemu/qemu.git
synced 2024-11-26 21:33:40 +08:00
Fix CPUID ext2 features masking (Avi Kivity)
Typo. Exposes rdtscp which kills some guests. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5717 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
e20e830bbd
commit
5700308503
@ -1466,7 +1466,7 @@ void cpu_x86_cpuid(CPUX86State *env, uint32_t index,
|
||||
/* svm */
|
||||
*ecx &= ~4UL;
|
||||
/* 3dnow */
|
||||
*edx = ~0xc0000000;
|
||||
*edx &= ~0xc0000000;
|
||||
}
|
||||
break;
|
||||
case 0x80000002:
|
||||
|
Loading…
Reference in New Issue
Block a user