From 408e7837aa64e57dc3377753448b5047946f0c50 Mon Sep 17 00:00:00 2001 From: ths Date: Mon, 10 Sep 2007 00:10:04 +0000 Subject: [PATCH] Fix the reported xlevel for Intel CPU, by Filip Navara. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3159 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-i386/helper2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target-i386/helper2.c b/target-i386/helper2.c index 8ce5425830..327d54bbec 100644 --- a/target-i386/helper2.c +++ b/target-i386/helper2.c @@ -114,7 +114,7 @@ CPUX86State *cpu_x86_init(void) env->cpuid_ext_features = CPUID_EXT_SSE3; env->cpuid_features |= CPUID_FXSR | CPUID_MMX | CPUID_SSE | CPUID_SSE2 | CPUID_PAE | CPUID_SEP; env->cpuid_features |= CPUID_APIC; - env->cpuid_xlevel = 0; + env->cpuid_xlevel = 0x80000006; { const char *model_id = "QEMU Virtual CPU version " QEMU_VERSION; int c, len, i; -- 2.11.0