aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi/parser.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2024-06-27 01:13:08 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2024-07-03 18:41:26 +0200
commit0b2757412cb1d1947d7e2c1fe14985f1e72bba32 (patch)
tree3f9579ad28987a95939ead67927271b71da001c2 /scripts/qapi/parser.py
parent8dee38483274bd0fcf3f74dea024d719b958200d (diff)
downloadqemu-0b2757412cb1d1947d7e2c1fe14985f1e72bba32.zip
qemu-0b2757412cb1d1947d7e2c1fe14985f1e72bba32.tar.gz
qemu-0b2757412cb1d1947d7e2c1fe14985f1e72bba32.tar.bz2
target/i386: drop AMD machine check bits from Intel CPUID
The recent addition of the SUCCOR bit to kvm_arch_get_supported_cpuid() causes the bit to be visible when "-cpu host" VMs are started on Intel processors. While this should in principle be harmless, it's not tidy and we don't even know for sure that it doesn't cause any guest OS to take unexpected paths. Since x86_cpu_get_supported_feature_word() can return different different values depending on the guest, adjust it to hide the SUCCOR bit if the guest has non-AMD vendor. Suggested-by: Xiaoyao Li <xiaoyao.li@intel.com> Cc: John Allen <john.allen@amd.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions