projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fc9b71
)
target-i386: Print deprecation warning if xlevel < 0x80000000
author
Igor Mammedov
<imammedo@redhat.com>
Mon, 21 Jan 2013 14:06:35 +0000
(15:06 +0100)
committer
Andreas Färber
<afaerber@suse.de>
Sun, 27 Jan 2013 13:34:27 +0000
(14:34 +0100)
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
target-i386/cpu.c
patch
|
blob
|
history
diff --git
a/target-i386/cpu.c
b/target-i386/cpu.c
index df974d7ede983455a12f0565a7ba30ae03747523..b75ea9fc8f633a464d7938d453ae61020661c6cd 100644
(file)
--- 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;