aboutsummaryrefslogtreecommitdiff
path: root/target-i386/cpuid.c
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@amd.com>2010-03-11 14:39:00 +0100
committerAurelien Jarno <aurelien@aurel32.net>2010-03-13 16:50:54 +0100
commited2c54d4ccfc1f64b174712d0fc02dbe35f75744 (patch)
treec012ca50bbd19d41c3ab73b96180a9f2f969474a /target-i386/cpuid.c
parente117f7725af8416a0c6e416fe18549d1625f7498 (diff)
downloadqemu-ed2c54d4ccfc1f64b174712d0fc02dbe35f75744.zip
qemu-ed2c54d4ccfc1f64b174712d0fc02dbe35f75744.tar.gz
qemu-ed2c54d4ccfc1f64b174712d0fc02dbe35f75744.tar.bz2
x86/cpuid: add "host" to the list of supported CPU models
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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/target-i386/cpuid.c b/target-i386/cpuid.c
index ea71330..635c88e 100644
--- a/target-i386/cpuid.c
+++ b/target-i386/cpuid.c
@@ -757,6 +757,9 @@ void x86_cpu_list (FILE *f, int (*cpu_fprintf)(FILE *f, const char *fmt, ...),
(*cpu_fprintf)(f, "\n");
}
}
+ if (kvm_enabled()) {
+ (*cpu_fprintf)(f, "x86 %16s\n", "[host]");
+ }
}
int cpu_x86_register (CPUX86State *env, const char *cpu_model)