Commit 57003085037f554de82327cbc34105cda1942892

Authored by aliguori
1 parent e20e830b

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
Showing 1 changed file with 1 additions and 1 deletions
target-i386/helper.c
@@ -1466,7 +1466,7 @@ void cpu_x86_cpuid(CPUX86State *env, uint32_t index, @@ -1466,7 +1466,7 @@ void cpu_x86_cpuid(CPUX86State *env, uint32_t index,
1466 /* svm */ 1466 /* svm */
1467 *ecx &= ~4UL; 1467 *ecx &= ~4UL;
1468 /* 3dnow */ 1468 /* 3dnow */
1469 - *edx = ~0xc0000000; 1469 + *edx &= ~0xc0000000;
1470 } 1470 }
1471 break; 1471 break;
1472 case 0x80000002: 1472 case 0x80000002: