Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Moc0S-00083A-5o for qemu-devel@nongnu.org; Fri, 18 Sep 2009 07:52:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Moc0N-00082a-8O for qemu-devel@nongnu.org; Fri, 18 Sep 2009 07:52:03 -0400 Received: from [199.232.76.173] (port=38484 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Moc0M-00082V-JN for qemu-devel@nongnu.org; Fri, 18 Sep 2009 07:51:58 -0400 Received: from tx2ehsobe002.messaging.microsoft.com ([65.55.88.12]:59858 helo=TX2EHSOBE003.bigfish.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_MD5:16) (Exim 4.60) (envelope-from ) id 1Moc0M-0003WO-7X for qemu-devel@nongnu.org; Fri, 18 Sep 2009 07:51:58 -0400 Received: from mail156-tx2 (localhost.localdomain [127.0.0.1]) by mail156-tx2-R.bigfish.com (Postfix) with ESMTP id 7FC961210171 for ; Fri, 18 Sep 2009 11:51:56 +0000 (UTC) Received: from TX2EHSMHS046.bigfish.com (unknown [10.9.14.243]) by mail156-tx2.bigfish.com (Postfix) with ESMTP id 3D1424301E1 for ; Fri, 18 Sep 2009 11:51:36 +0000 (UTC) Received: from ausb3twp01.amd.com ([163.181.250.37]) by ausb3extmailp01.amd.com (Switch-3.2.7/Switch-3.2.7) with ESMTP id n8IBpRYj003861 for ; Fri, 18 Sep 2009 06:51:30 -0500 Received: from sausexbh2.amd.com (SAUSEXBH2.amd.com [163.181.22.102]) by ausb3twp01.amd.com (Tumbleweed MailGate 3.7.0) with ESMTP id 224B91028509 for ; Fri, 18 Sep 2009 06:51:24 -0500 (CDT) From: Andre Przywara Date: Fri, 18 Sep 2009 13:48:14 +0200 Message-ID: <1253274494-13244-22-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 21/21] cpuid: Always expose 32 and 64-bit CPUs List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Andre Przywara Since 64-bit capability is just another CPUID bit we now properly mask, there is no reason anymore to hide the 64-bit capable CPU models from a 32-bit only QEMU. All 64-bit CPUs can be used perfectly in 32-bit legacy mode anyway, so these models also make sense for 32-bit. Signed-off-by: Andre Przywara --- target-i386/cpuid.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/target-i386/cpuid.c b/target-i386/cpuid.c index 505fca5..9d687fd 100644 --- a/target-i386/cpuid.c +++ b/target-i386/cpuid.c @@ -145,7 +145,6 @@ typedef struct x86_def_t { #define TCG_EXT3_FEATURES (CPUID_EXT3_LAHF_LM | CPUID_EXT3_SVM) static x86_def_t x86_defs[] = { -#ifdef TARGET_X86_64 { .name = "qemu64", .level = 4, @@ -239,7 +238,6 @@ static x86_def_t x86_defs[] = { .xlevel = 0x80000008, .model_id = "Common KVM processor" }, -#endif { .name = "qemu32", .level = 4, -- 1.6.1.3