qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 16/37] target-i386: Print deprecation warning if xle


From: Andreas Färber
Subject: [Qemu-devel] [PATCH 16/37] target-i386: Print deprecation warning if xlevel < 0x80000000
Date: Mon, 28 Jan 2013 17:18:33 +0100

From: Igor Mammedov <address@hidden>

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Eduardo Habkost <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>
---
 target-i386/cpu.c |    2 ++
 1 Datei geändert, 2 Zeilen hinzugefügt(+)

diff --git a/target-i386/cpu.c b/target-i386/cpu.c
index df974d7..b75ea9f 100644
--- a/target-i386/cpu.c
+++ b/target-i386/cpu.c
@@ -1395,6 +1395,8 @@ static int cpu_x86_parse_featurestr(x86_def_t 
*x86_cpu_def, char *features)
                     goto error;
                 }
                 if (numvalue < 0x80000000) {
+                    fprintf(stderr, "xlevel value shall always be >= 
0x80000000"
+                            ", fixup will be removed in future versions\n");
                     numvalue += 0x80000000;
                 }
                 x86_cpu_def->xlevel = numvalue;
-- 
1.7.10.4




reply via email to

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