From patchwork Tue Sep 7 12:30:32 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: john cooper X-Patchwork-Id: 64005 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 7AD1DB6EEC for ; Tue, 7 Sep 2010 22:35:11 +1000 (EST) Received: from localhost ([127.0.0.1]:41711 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OsxOG-0005Fm-HA for incoming@patchwork.ozlabs.org; Tue, 07 Sep 2010 08:35:08 -0400 Received: from [140.186.70.92] (port=42494 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OsxLJ-0004CN-9G for qemu-devel@nongnu.org; Tue, 07 Sep 2010 08:32:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OsxKr-0004Bk-26 for qemu-devel@nongnu.org; Tue, 07 Sep 2010 08:31:38 -0400 Received: from mx1.redhat.com ([209.132.183.28]:64025) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OsxKq-0004BX-RE for qemu-devel@nongnu.org; Tue, 07 Sep 2010 08:31:37 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o87CVavY000395 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 7 Sep 2010 08:31:36 -0400 Received: from anvil.naka.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o87CVSf3008480; Tue, 7 Sep 2010 08:31:31 -0400 Message-ID: <4C863068.8000905@redhat.com> Date: Tue, 07 Sep 2010 08:30:32 -0400 From: john cooper User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: qemu-devel@nongnu.org X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. Cc: john cooper , Andrea Arcangeli , Alex Williamson , Eduardo Habkost Subject: [Qemu-devel] [PATCH 1/4] cpu model corrections/updates: fix Intel "model" fields X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Correct archaic CPU model "model" field for Intel CPUs. The old "model" values caused two known problems: - Skype crashes on a winxp guest if model < 6, due to syscall vs. sysenter confusion. - 32 bit windows doesn't enable MSI support if model < 13. After consulting with Intel the following recommendations were received which more accurately represent shipped silicon. Signed-off-by: john cooper diff --git a/sysconfigs/target/target-x86_64.conf b/sysconfigs/target/target-x86_64.conf index 43ad282..0613870 100644 --- a/sysconfigs/target/target-x86_64.conf +++ b/sysconfigs/target/target-x86_64.conf @@ -5,7 +5,7 @@ level = "2" vendor = "GenuineIntel" family = "6" - model = "2" + model = "15" stepping = "3" feature_edx = "sse2 sse fxsr mmx pat cmov pge sep apic cx8 mce pae msr tsc pse de fpu mtrr clflush mca pse36" feature_ecx = "sse3 ssse3" @@ -19,7 +19,7 @@ level = "2" vendor = "GenuineIntel" family = "6" - model = "2" + model = "23" stepping = "3" feature_edx = "sse2 sse fxsr mmx pat cmov pge sep apic cx8 mce pae msr tsc pse de fpu mtrr clflush mca pse36" feature_ecx = "sse3 cx16 ssse3 sse4.1" @@ -33,7 +33,7 @@ level = "2" vendor = "GenuineIntel" family = "6" - model = "2" + model = "26" stepping = "3" feature_edx = "sse2 sse fxsr mmx pat cmov pge sep apic cx8 mce pae msr tsc pse de fpu mtrr clflush mca pse36" feature_ecx = "sse3 cx16 ssse3 sse4.1 sse4.2 popcnt"