Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Moc0h-00085V-1M for qemu-devel@nongnu.org; Fri, 18 Sep 2009 07:52:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Moc0c-00084L-9g for qemu-devel@nongnu.org; Fri, 18 Sep 2009 07:52:18 -0400 Received: from [199.232.76.173] (port=38486 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Moc0c-00084F-5H for qemu-devel@nongnu.org; Fri, 18 Sep 2009 07:52:14 -0400 Received: from mx20.gnu.org ([199.232.41.8]:64703) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Moc0b-0003tr-Oy for qemu-devel@nongnu.org; Fri, 18 Sep 2009 07:52:13 -0400 Received: from tx2ehsobe004.messaging.microsoft.com ([65.55.88.14] helo=TX2EHSOBE007.bigfish.com) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Moc0a-0005Jd-RV for qemu-devel@nongnu.org; Fri, 18 Sep 2009 07:52:13 -0400 Received: from mail157-tx2 (localhost.localdomain [127.0.0.1]) by mail157-tx2-R.bigfish.com (Postfix) with ESMTP id 5DD24A58435 for ; Fri, 18 Sep 2009 11:52:09 +0000 (UTC) Received: from svlb1extmailp02.amd.com (unknown [139.95.251.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail157-tx2.bigfish.com (Postfix) with ESMTP id 1DE052B8051 for ; Fri, 18 Sep 2009 11:51:16 +0000 (UTC) Received: from svlb1twp02.amd.com ([139.95.250.35]) by svlb1extmailp02.amd.com (Switch-3.2.7/Switch-3.2.7) with ESMTP id n8IBp9GZ032302 for ; Fri, 18 Sep 2009 04:51:12 -0700 Received: from SSVLEXBH1.amd.com (ssvlexbh1.amd.com [139.95.53.182]) by svlb1twp02.amd.com (Tumbleweed MailGate 3.7.0) with ESMTP id 2F9011B1028C for ; Fri, 18 Sep 2009 04:51:06 -0700 (PDT) From: Andre Przywara Date: Fri, 18 Sep 2009 13:48:11 +0200 Message-ID: <1253274494-13244-19-git-send-email-andre.przywara@amd.com> In-Reply-To: <1253274494-13244-1-git-send-email-andre.przywara@amd.com> References: <1253274494-13244-1-git-send-email-andre.przywara@amd.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH v2 18/21] cpuid: Fix 486 CPU model List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Andre Przywara For the CPUID feature leaf to be actually useful, we should set the maximum leaf to 1, so the guests will try to read it. Signed-off-by: Andre Przywara --- target-i386/cpuid.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/target-i386/cpuid.c b/target-i386/cpuid.c index e4200ea..2e02556 100644 --- a/target-i386/cpuid.c +++ b/target-i386/cpuid.c @@ -257,9 +257,9 @@ static x86_def_t x86_defs[] = { }, { .name = "486", - .level = 0, + .level = 1, .family = 4, - .model = 0, + .model = 1, .stepping = 0, .features = I486_FEATURES, .xlevel = 0, -- 1.6.1.3