diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2022-01-12 18:01:30 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-01-28 13:38:25 +0100 |
commit | f80ae0ef089a09e8c18da43a382c3caac9a424a7 (patch) | |
tree | 644b5dfe4f06055bc0de99aee30f223c96acd5fd /arch/x86/kvm/vmx/vmcs12.c | |
parent | selftests: kvm: check dynamic bits against KVM_X86_XCOMP_GUEST_SUPP (diff) | |
download | linux-f80ae0ef089a09e8c18da43a382c3caac9a424a7.tar.xz linux-f80ae0ef089a09e8c18da43a382c3caac9a424a7.zip |
KVM: nVMX: Also filter MSR_IA32_VMX_TRUE_PINBASED_CTLS when eVMCS
Similar to MSR_IA32_VMX_EXIT_CTLS/MSR_IA32_VMX_TRUE_EXIT_CTLS,
MSR_IA32_VMX_ENTRY_CTLS/MSR_IA32_VMX_TRUE_ENTRY_CTLS pair,
MSR_IA32_VMX_TRUE_PINBASED_CTLS needs to be filtered the same way
MSR_IA32_VMX_PINBASED_CTLS is currently filtered as guests may solely rely
on 'true' MSR data.
Note, none of the currently existing Windows/Hyper-V versions are known
to stumble upon the unfiltered MSR_IA32_VMX_TRUE_PINBASED_CTLS, the change
is aimed at making the filtering future proof.
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20220112170134.1904308-2-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/vmx/vmcs12.c')
0 files changed, 0 insertions, 0 deletions