From patchwork Fri Dec 28 20:01:29 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [14/20] target-i386: print deprecated warning if xlevel < 0x80000000 Date: Fri, 28 Dec 2012 10:01:29 -0000 From: Igor Mammedov X-Patchwork-Id: 208587 Message-Id: <1356724895-24118-15-git-send-email-imammedo@redhat.com> To: qemu-devel@nongnu.org Cc: ehabkost@redhat.com, afaerber@suse.de Signed-off-by: Igor Mammedov --- target-i386/cpu.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/target-i386/cpu.c b/target-i386/cpu.c index 00cb413..02ece1e 100644 --- a/target-i386/cpu.c +++ b/target-i386/cpu.c @@ -1335,6 +1335,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 deprecated in future versions\n"); numvalue += 0x80000000; } x86_cpu_def->xlevel = numvalue;