From ed2c54d4ccfc1f64b174712d0fc02dbe35f75744 Mon Sep 17 00:00:00 2001 From: Andre Przywara Date: Thu, 11 Mar 2010 14:39:00 +0100 Subject: [PATCH] x86/cpuid: add "host" to the list of supported CPU models Signed-off-by: Andre Przywara Signed-off-by: Aurelien Jarno --- target-i386/cpuid.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target-i386/cpuid.c b/target-i386/cpuid.c index ea713306a6..635c88e19e 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)