mirror of
https://git.proxmox.com/git/qemu
synced 2025-08-14 10:19:52 +00:00
target-i386: Print deprecation warning if xlevel < 0x80000000
Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
7fc9b714eb
commit
8ba8a69848
@ -1395,6 +1395,8 @@ static int cpu_x86_parse_featurestr(x86_def_t *x86_cpu_def, char *features)
|
|||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
if (numvalue < 0x80000000) {
|
if (numvalue < 0x80000000) {
|
||||||
|
fprintf(stderr, "xlevel value shall always be >= 0x80000000"
|
||||||
|
", fixup will be removed in future versions\n");
|
||||||
numvalue += 0x80000000;
|
numvalue += 0x80000000;
|
||||||
}
|
}
|
||||||
x86_cpu_def->xlevel = numvalue;
|
x86_cpu_def->xlevel = numvalue;
|
||||||
|
Loading…
Reference in New Issue
Block a user