From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=47713 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PzrfT-0003b5-60 for qemu-devel@nongnu.org; Wed, 16 Mar 2011 10:25:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PzrfS-0004xn-0u for qemu-devel@nongnu.org; Wed, 16 Mar 2011 10:25:43 -0400 Received: from os.inf.tu-dresden.de ([141.76.48.99]:34111) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PzrfR-0004xM-S3 for qemu-devel@nongnu.org; Wed, 16 Mar 2011 10:25:41 -0400 Received: from erwin.inf.tu-dresden.de ([141.76.48.80] helo=x) by os.inf.tu-dresden.de with esmtp (Exim 4.74) id 1PzrfP-0001vi-OY for qemu-devel@nongnu.org; Wed, 16 Mar 2011 15:25:39 +0100 From: Adam Lackorzynski Date: Wed, 16 Mar 2011 15:25:39 +0100 Message-Id: <1300285539-30905-1-git-send-email-adam@os.inf.tu-dresden.de> Subject: [Qemu-devel] [PATCH] target-i386: Do not announce extended mwait features List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org CPUID claims that extended monitor/mwait features are available but the mwait helper instantly raises a GPF if they are used. Thus do not announce that the extension are available. Signed-off-by: Adam Lackorzynski --- target-i386/cpuid.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/target-i386/cpuid.c b/target-i386/cpuid.c index 5382a28..28275a6 100644 --- a/target-i386/cpuid.c +++ b/target-i386/cpuid.c @@ -1104,7 +1104,7 @@ void cpu_x86_cpuid(CPUX86State *env, uint32_t index, uint32_t count, /* mwait info: needed for Core compatibility */ *eax = 0; /* Smallest monitor-line size in bytes */ *ebx = 0; /* Largest monitor-line size in bytes */ - *ecx = CPUID_MWAIT_EMX | CPUID_MWAIT_IBE; + *ecx = 0; /* Supported extensions */ *edx = 0; break; case 6: -- 1.7.4.1