From: Andre Przywara Date: Thu, 11 Mar 2010 13:39:00 +0000 (+0100) Subject: x86/cpuid: add "host" to the list of supported CPU models X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ed2c54d4ccfc1f64b174712d0fc02dbe35f75744;p=qemu.git x86/cpuid: add "host" to the list of supported CPU models Signed-off-by: Andre Przywara Signed-off-by: Aurelien Jarno --- 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)