diff options
author | Jim Mattson <jmattson@google.com> | 2022-09-30 00:51:58 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-10-22 07:54:35 -0400 |
commit | 0469e56a14bf8cfb80507e51b7aeec0332cdbc13 (patch) | |
tree | 37320d4565fcb1a35b3633228359d21f6e8db97d /arch/x86/um/asm | |
parent | 9aec606c1609a5da177b579475a73f6c948e034a (diff) |
KVM: x86: Mask off reserved bits in CPUID.80000001H
KVM_GET_SUPPORTED_CPUID should only enumerate features that KVM
actually supports. CPUID.80000001:EBX[27:16] are reserved bits and
should be masked off.
Fixes: 0771671749b5 ("KVM: Enhance guest cpuid management")
Signed-off-by: Jim Mattson <jmattson@google.com>
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/um/asm')
0 files changed, 0 insertions, 0 deletions