qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] CPUID xlevel
@ 2007-09-08 19:29 Filip Navara
  0 siblings, 0 replies; only message in thread
From: Filip Navara @ 2007-09-08 19:29 UTC (permalink / raw)
  To: qemu-devel


[-- Attachment #1.1: Type: text/plain, Size: 108 bytes --]

Fix the reported xlevel for Intel CPU. We support the extended CPUID calls,
so report that we support them.

[-- Attachment #1.2: Type: text/html, Size: 112 bytes --]

[-- Attachment #2: qemu-cpuid-xlevel.patch --]
[-- Type: application/octet-stream, Size: 736 bytes --]

Index: target-i386/helper2.c
===================================================================
RCS file: /sources/qemu/qemu/target-i386/helper2.c,v
retrieving revision 1.48
diff -u -r1.48 helper2.c
--- target-i386/helper2.c	31 Jul 2007 23:09:18 -0000	1.48
+++ target-i386/helper2.c	6 Sep 2007 17:06:34 -0000
@@ -114,7 +114,7 @@
         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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-09-08 19:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-08 19:29 [Qemu-devel] [PATCH] CPUID xlevel Filip Navara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).