diff mbox

[06/13] x86/cpuid: add "host" to the list of supported CPU models

Message ID 1268314747-11111-7-git-send-email-andre.przywara@amd.com
State New
Headers show

Commit Message

Andre Przywara March 11, 2010, 1:39 p.m. UTC
Signed-off-by: Andre Przywara <andre.przywara@amd.com>
---
 target-i386/cpuid.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/target-i386/cpuid.c b/target-i386/cpuid.c
index 56ae71a..1e1c25b 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)