qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2 18/21] cpuid: Fix 486 CPU model


From: Andre Przywara
Subject: [Qemu-devel] [PATCH v2 18/21] cpuid: Fix 486 CPU model
Date: Fri, 18 Sep 2009 13:48:11 +0200

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 <address@hidden>
---
 target-i386/cpuid.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

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,
-- 
1.6.1.3






reply via email to

[Prev in Thread] Current Thread [Next in Thread]