diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2022-10-22 04:17:53 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-01-09 05:35:21 -0500 |
commit | 45e966fcca03ecdcccac7cb236e16eea38cc18af (patch) | |
tree | fd73e4f4829f3c5c4af32b9cda4ec25ffb62912d /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
parent | 74905e3de8adf0e6b5d7f455dcd32cdec13dfb6c (diff) |
KVM: x86: Do not return host topology information from KVM_GET_SUPPORTED_CPUID
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions