diff mbox

[v2,18/21] cpuid: Fix 486 CPU model

Message ID 1253274494-13244-19-git-send-email-andre.przywara@amd.com
State Superseded
Headers show

Commit Message

Andre Przywara Sept. 18, 2009, 11:48 a.m. UTC
For the CPUID feature leaf to be actually useful, we should set
the maximum leaf to 1, so the guests will try to read it.

Signed-off-by: Andre Przywara <andre.przywara@amd.com>
---
 target-i386/cpuid.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/target-i386/cpuid.c b/target-i386/cpuid.c
index e4200ea..2e02556 100644
--- a/target-i386/cpuid.c
+++ b/target-i386/cpuid.c
@@ -257,9 +257,9 @@  static x86_def_t x86_defs[] = {
     },
     {
         .name = "486",
-        .level = 0,
+        .level = 1,
         .family = 4,
-        .model = 0,
+        .model = 1,
         .stepping = 0,
         .features = I486_FEATURES,
         .xlevel = 0,