From: Igor Mammedov Date: Mon, 21 Jan 2013 14:06:35 +0000 (+0100) Subject: target-i386: Print deprecation warning if xlevel < 0x80000000 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8ba8a69848f8b910207a4b57c68db9a7e92af578;p=qemu.git target-i386: Print deprecation warning if xlevel < 0x80000000 Signed-off-by: Igor Mammedov Reviewed-by: Eduardo Habkost Signed-off-by: Andreas Färber --- diff --git a/target-i386/cpu.c b/target-i386/cpu.c index df974d7ede..b75ea9fc8f 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;