diff options
author | Jim Mattson <jmattson@google.com> | 2022-09-30 01:52:03 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-10-27 11:41:54 +0300 |
commit | 86c4f0d547f6460d0426ebb3ba0614f1134b8cda (patch) | |
tree | bc0a6adfec377c2321f77b658dfcf920f20c8009 /tools | |
parent | 079f6889818dd07903fb36c252532ab47ebb6d48 (diff) | |
download | linux-86c4f0d547f6460d0426ebb3ba0614f1134b8cda.tar.xz |
KVM: x86: Mask off reserved bits in CPUID.8000001FH
KVM_GET_SUPPORTED_CPUID should only enumerate features that KVM
actually supports. CPUID.8000001FH:EBX[31:16] are reserved bits and
should be masked off.
Fixes: 8765d75329a3 ("KVM: X86: Extend CPUID range to include new leaf")
Signed-off-by: Jim Mattson <jmattson@google.com>
Message-Id: <20220929225203.2234702-6-jmattson@google.com>
Cc: stable@vger.kernel.org
[Clear NumVMPL too. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions