mirror-linux/Documentation/virt/kvm
Paolo Bonzini d778e68faa KVM: x86: Do not return host topology information from KVM_GET_SUPPORTED_CPUID
commit 45e966fcca upstream.

Passing the host topology to the guest is almost certainly wrong
and will confuse the scheduler.  In addition, several fields of
these CPUID leaves vary on each processor; it is simply impossible to
return the right values from KVM_GET_SUPPORTED_CPUID in such a way that
they can be passed to KVM_SET_CPUID2.

The values that will most likely prevent confusion are all zeroes.
Userspace will have to override it anyway if it wishes to present a
specific topology to the guest.

Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-01-18 11:58:10 +01:00
..
arm arm64: Rename the VHE switch to "finalise_el2" 2022-07-01 15:22:51 +01:00
devices KVM: s390: pv: don't allow userspace to set the clock under PV 2022-11-07 10:14:15 +01:00
s390 ARM: 2022-08-04 14:59:54 -07:00
x86 KVM: Move halt-polling documentation into common directory 2022-12-02 13:20:30 -05:00
api.rst KVM: x86: Do not return host topology information from KVM_GET_SUPPORTED_CPUID 2023-01-18 11:58:10 +01:00
halt-polling.rst KVM: Document the interaction between KVM_CAP_HALT_POLL and halt_poll_ns 2022-12-02 13:20:30 -05:00
index.rst KVM: Move halt-polling documentation into common directory 2022-12-02 13:20:30 -05:00
locking.rst Documentation: kvm: include new locks 2022-03-29 13:21:19 -04:00
ppc-pv.rst docs: kvm: Convert ppc-pv.txt to ReST format 2020-02-12 20:10:05 +01:00
review-checklist.rst docs: fix broken references for ReST files that moved around 2020-04-20 15:45:03 -06:00
vcpu-requests.rst KVM: remove KVM_REQ_UNHALT 2022-09-26 12:37:21 -04:00