mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34:58 -06:00
push CPUID level to 4 to allow Intel multicore decoding
Intel CPUs store the number of cores in CPUID leaf 4. So push the maxleaf value to 4 to allow the guests access to this leaf. Signed-off-by: Andre Przywara <andre.przywara@amd.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
dc6b1c0984
commit
ac72472b5f
1 changed files with 2 additions and 2 deletions
|
@ -119,7 +119,7 @@ static x86_def_t x86_defs[] = {
|
||||||
#ifdef TARGET_X86_64
|
#ifdef TARGET_X86_64
|
||||||
{
|
{
|
||||||
.name = "qemu64",
|
.name = "qemu64",
|
||||||
.level = 2,
|
.level = 4,
|
||||||
.vendor1 = CPUID_VENDOR_AMD_1,
|
.vendor1 = CPUID_VENDOR_AMD_1,
|
||||||
.vendor2 = CPUID_VENDOR_AMD_2,
|
.vendor2 = CPUID_VENDOR_AMD_2,
|
||||||
.vendor3 = CPUID_VENDOR_AMD_3,
|
.vendor3 = CPUID_VENDOR_AMD_3,
|
||||||
|
@ -190,7 +190,7 @@ static x86_def_t x86_defs[] = {
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
.name = "qemu32",
|
.name = "qemu32",
|
||||||
.level = 2,
|
.level = 4,
|
||||||
.family = 6,
|
.family = 6,
|
||||||
.model = 3,
|
.model = 3,
|
||||||
.stepping = 3,
|
.stepping = 3,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue