WSL2-Linux-Kernel/Documentation/virt/kvm
Paolo Bonzini fbf5015141 KVM: x86: Do not return host topology information from KVM_GET_SUPPORTED_CPUID
[ Upstream commit 45e966fcca ]

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: Sasha Levin <sashal@kernel.org>
2023-01-18 11:48:57 +01:00
..
arm KVM: arm64: Fix Function ID typo for PTP_KVM service 2021-04-20 17:19:08 +01:00
devices KVM: s390: pv: don't allow userspace to set the clock under PV 2022-11-16 09:58:17 +01:00
amd-memory-encryption.rst x86/msr: Rename MSR_K8_SYSCFG to MSR_AMD64_SYSCFG 2021-05-10 07:51:38 +02:00
api.rst KVM: x86: Do not return host topology information from KVM_GET_SUPPORTED_CPUID 2023-01-18 11:48:57 +01:00
cpuid.rst KVM: X86: Introduce KVM_HC_MAP_GPA_RANGE hypercall 2021-06-17 14:25:39 -04:00
halt-polling.rst
hypercalls.rst KVM: X86: Introduce KVM_HC_MAP_GPA_RANGE hypercall 2021-06-17 14:25:39 -04:00
index.rst
locking.rst Merge branch 'kvm-tdpmmu-fixes' into HEAD 2021-08-13 03:35:01 -04:00
mmu.rst KVM: x86/mmu: Rename "nxe" role bit to "efer_nx" for macro shenanigans 2021-06-24 18:00:41 -04:00
msr.rst KVM: X86: Introduce KVM_HC_MAP_GPA_RANGE hypercall 2021-06-17 14:25:39 -04:00
nested-vmx.rst
ppc-pv.rst
review-checklist.rst
running-nested-guests.rst
s390-diag.rst KVM: s390: diag9c (directed yield) forwarding 2021-03-09 10:16:26 +01:00
s390-pv-boot.rst docs: virt: kvm: s390-pv-boot.rst: avoid using ReST :doc:`foo` markup 2021-06-17 13:24:39 -06:00
s390-pv.rst
timekeeping.rst
vcpu-requests.rst This was a reasonably active cycle for documentation; this pull includes: 2021-06-28 16:53:05 -07:00