]> git.itanic.dy.fi Git - linux-stable/commit
KVM: nVMX: Prepare to sanitize tertiary execution controls with eVMCS
authorVitaly Kuznetsov <vkuznets@redhat.com>
Fri, 4 Nov 2022 14:47:07 +0000 (15:47 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 29 Dec 2022 20:33:11 +0000 (15:33 -0500)
commitc128d3fd389b583ce6b28dbaa0e924de5671b961
tree03fa9858bc41a48c6981be249c50048285716554
parent96d6955d215e6234bb820fd23756b2a9b77aef0f
KVM: nVMX: Prepare to sanitize tertiary execution controls with eVMCS

In preparation to restoring vmcs_conf sanitization for KVM-on-Hyper-V,
(and for completeness) add tertiary VM-execution controls to
'evmcs_supported_ctrls'.

No functional change intended as KVM doesn't yet expose
MSR_IA32_VMX_PROCBASED_CTLS3 to its guests.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20221104144708.435865-4-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/hyperv.c
arch/x86/kvm/vmx/hyperv.h