KVM: x86: add support for CPUID leaf 0x80000021
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 28 Oct 2021 17:26:38 +0000 (13:26 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 21 Mar 2022 13:28:40 +0000 (09:28 -0400)
commit58b3d12c0a860cda34ed9d2378078ea5134e6812
tree6fd1c6194a2da0f1b04ffbdf4837d16a9ed8736a
parentbf07be36cd881b50684aca8f76d4b407da6cb058
KVM: x86: add support for CPUID leaf 0x80000021

CPUID leaf 0x80000021 defines some features (or lack of bugs) of AMD
processors.  Expose the ones that make sense via KVM_GET_SUPPORTED_CPUID.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/cpuid.c