summary refs log tree commit diff stats
path: root/docs/sphinx/qapidoc.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 /docs/sphinx/qapidoc.py
parent8dee38483274bd0fcf3f74dea024d719b958200d (diff)
downloadfocaccia-qemu-0b2757412cb1d1947d7e2c1fe14985f1e72bba32.tar.gz
focaccia-qemu-0b2757412cb1d1947d7e2c1fe14985f1e72bba32.zip
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 'docs/sphinx/qapidoc.py')
0 files changed, 0 insertions, 0 deletions