Re: [PATCH v4 0/4] KVM: nVMX: Disallow access to vmcs12 fields that aren't supported by "hardware"
From: Sean Christopherson
Date: Tue Feb 03 2026 - 19:11:39 EST
On Thu, 15 Jan 2026 09:34:23 -0800, Sean Christopherson wrote:
> Disallow accesses to vmcs12 fields that are defined by KVM, but are unsupported
> in the current incarnation of KVM, e.g. due to lack of hardware support for the
> underlying VMCS fields.
>
> The primary motivation is to avoid having to carry the same logic for shadowed
> VMCS fields, which can't play nice with unsupported fields since VMREAD/VMWRITE
> will fail when attempting to transfer state between vmcs12 and the shadow VMCS.
>
> [...]
Applied to kvm-x86 vmx, thanks!
[1/4] KVM: nVMX: Setup VMX MSRs on loading CPU during nested_vmx_hardware_setup()
https://github.com/kvm-x86/linux/commit/26304e0e694f
[2/4] KVM: VMX: Add a wrapper around ROL16() to get a vmcs12 from a field encoding
https://github.com/kvm-x86/linux/commit/c68feb605cc4
[3/4] KVM: nVMX: Disallow access to vmcs12 fields that aren't supported by "hardware"
https://github.com/kvm-x86/linux/commit/5fdf86e7353c
[4/4] KVM: nVMX: Remove explicit filtering of GUEST_INTR_STATUS from shadow VMCS fields
https://github.com/kvm-x86/linux/commit/1dc643205953
--
https://github.com/kvm-x86/linux/tree/next