diff options
author | zhenwei pi <pizhenwei@bytedance.com> | 2021-07-08 12:06:41 -0500 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2021-07-13 09:13:29 -0400 |
commit | 760746ac533dd770a56340b1376e7b3fb1693562 (patch) | |
tree | ccafaabaef7b44365df18f26a264bd0652260cca /target/i386/arch_dump.c | |
parent | a7a0da844d299971bdbf99665bd63398668dde83 (diff) | |
download | qemu-760746ac533dd770a56340b1376e7b3fb1693562.zip qemu-760746ac533dd770a56340b1376e7b3fb1693562.tar.gz qemu-760746ac533dd770a56340b1376e7b3fb1693562.tar.bz2 |
target/i386: Fix cpuid level for AMD
A AMD server typically has cpuid level 0x10(test on Rome/Milan), it
should not be changed to 0x1f in multi-dies case.
* to maintain compatibility with older machine types, only implement
this change when the CPU's "x-vendor-cpuid-only" property is false
Cc: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: Richard Henderson <richard.henderson@linaro.org>
Cc: Igor Mammedov <imammedo@redhat.com>
Cc: zhenwei pi <pizhenwei@bytedance.com>
Fixes: a94e1428991 (target/i386: Add CPUID.1F generation support for multi-dies PCMachine)
Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
Signed-off-by: Michael Roth <michael.roth@amd.com>
Message-Id: <20210708170641.49410-1-michael.roth@amd.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'target/i386/arch_dump.c')
0 files changed, 0 insertions, 0 deletions