Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NcFga-0002jX-RF for qemu-devel@nongnu.org; Tue, 02 Feb 2010 05:08:45 -0500 Received: from [199.232.76.173] (port=38600 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NcFgZ-0002i3-Fu for qemu-devel@nongnu.org; Tue, 02 Feb 2010 05:08:43 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NcFgR-0006up-H9 for qemu-devel@nongnu.org; Tue, 02 Feb 2010 05:08:42 -0500 Received: from va3ehsobe005.messaging.microsoft.com ([216.32.180.15]:5765 helo=VA3EHSOBE006.bigfish.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_MD5:16) (Exim 4.60) (envelope-from ) id 1NcFgR-0006uR-8j for qemu-devel@nongnu.org; Tue, 02 Feb 2010 05:08:35 -0500 From: Andre Przywara Date: Tue, 2 Feb 2010 11:08:19 +0100 Message-ID: <1265105301-3455-12-git-send-email-andre.przywara@amd.com> In-Reply-To: <1265105301-3455-1-git-send-email-andre.przywara@amd.com> References: <1265105301-3455-1-git-send-email-andre.przywara@amd.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH 11/13] 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: john.cooper@redhat.com, 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 6e6ee54..b03a363 100644 --- a/target-i386/cpuid.c +++ b/target-i386/cpuid.c @@ -153,7 +153,6 @@ typedef struct x86_def_t { CPUID_EXT3_CR8LEG | CPUID_EXT3_ABM | CPUID_EXT3_SSE4A) static x86_def_t x86_defs[] = { -#ifdef TARGET_X86_64 { .name = "qemu64", .level = 4, @@ -252,7 +251,6 @@ static x86_def_t x86_defs[] = { .xlevel = 0x80000008, .model_id = "Common KVM processor" }, -#endif { .name = "qemu32", .level = 4, -- 1.6.4