From d2e200d8c1dca6eea0408718cb50b5df858a95d6 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 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) -- 2.7.4