From 57003085037f554de82327cbc34105cda1942892 Mon Sep 17 00:00:00 2001 From: aliguori Date: Thu, 13 Nov 2008 19:28:04 +0000 Subject: [PATCH] Fix CPUID ext2 features masking (Avi Kivity) Typo. Exposes rdtscp which kills some guests. Signed-off-by: Avi Kivity Signed-off-by: Anthony Liguori git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5717 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-i386/helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target-i386/helper.c b/target-i386/helper.c index 7ddb4cec13..fd26e3e542 100644 --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -1466,7 +1466,7 @@ void cpu_x86_cpuid(CPUX86State *env, uint32_t index, /* svm */ *ecx &= ~4UL; /* 3dnow */ - *edx = ~0xc0000000; + *edx &= ~0xc0000000; } break; case 0x80000002: