From patchwork Thu Mar 11 13:39:04 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [10/13] x86/cpuid: Always expose 32 and 64-bit CPUs Date: Thu, 11 Mar 2010 03:39:04 -0000 From: Andre Przywara X-Patchwork-Id: 47325 Message-Id: <1268314747-11111-11-git-send-email-andre.przywara@amd.com> To: anthony@codemonkey.ws Cc: Andre Przywara , qemu-devel@nongnu.org, aurelien@aurel32.net 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 a6b2362..e7e9228 100644 --- a/target-i386/cpuid.c +++ b/target-i386/cpuid.c @@ -250,7 +250,6 @@ static x86_def_t *x86_defs = {NULL}; /* built-in cpu model definitions (deprecated) */ static x86_def_t builtin_x86_defs[] = { -#ifdef TARGET_X86_64 { .name = "qemu64", .level = 4, @@ -349,7 +348,6 @@ static x86_def_t builtin_x86_defs[] = { .xlevel = 0x80000008, .model_id = "Common KVM processor" }, -#endif { .name = "qemu32", .level = 4,