mirror of https://gitee.com/openkylin/qemu.git
x86/cpuid: fix CPUID levels
Bump up the xlevel number for qemu32 to allow parsing of the processor name string for this model. Similiarly the 486 processor should have at least the feature bit leaf enabled. Signed-off-by: Andre Przywara <andre.przywara@amd.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
d3bf59157c
commit
58012d66dc
|
@ -357,7 +357,7 @@ static x86_def_t builtin_x86_defs[] = {
|
|||
.stepping = 3,
|
||||
.features = PPRO_FEATURES,
|
||||
.ext_features = CPUID_EXT_SSE3 | CPUID_EXT_POPCNT,
|
||||
.xlevel = 0,
|
||||
.xlevel = 0x80000004,
|
||||
.model_id = "QEMU Virtual CPU version " QEMU_VERSION,
|
||||
},
|
||||
{
|
||||
|
@ -381,7 +381,7 @@ static x86_def_t builtin_x86_defs[] = {
|
|||
},
|
||||
{
|
||||
.name = "486",
|
||||
.level = 0,
|
||||
.level = 1,
|
||||
.family = 4,
|
||||
.model = 0,
|
||||
.stepping = 0,
|
||||
|
|
Loading…
Reference in New Issue