summaryrefslogtreecommitdiff
path: root/target-i386/cpuid.c
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@amd.com>2010-03-11 14:39:04 +0100
committerAurelien Jarno <aurelien@aurel32.net>2010-03-13 16:50:54 +0100
commitd3bf59157c8b7f35935266f145723d9c9585f783 (patch)
treeb1e60de5fac5c5beb097038f5796189b0e7d6ee5 /target-i386/cpuid.c
parent551a2dec8fa55006a68393b9d6fb63577d2b3f1c (diff)
downloadqemu-d3bf59157c8b7f35935266f145723d9c9585f783.tar.gz
x86/cpuid: Always expose 32 and 64-bit CPUs
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 <andre.przywara@amd.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-i386/cpuid.c')
-rw-r--r--target-i386/cpuid.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/target-i386/cpuid.c b/target-i386/cpuid.c
index e3dc9e58d0..b949e6044b 100644
--- a/target-i386/cpuid.c
+++ b/target-i386/cpuid.c
@@ -251,7 +251,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,
@@ -350,7 +349,6 @@ static x86_def_t builtin_x86_defs[] = {
.xlevel = 0x80000008,
.model_id = "Common KVM processor"
},
-#endif
{
.name = "qemu32",
.level = 4,