kvm: nVMX: Add support for "VMWRITE to any supported field"
authorJim Mattson <jmattson@google.com>
Tue, 29 May 2018 16:11:33 +0000 (09:11 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 4 Jun 2018 15:52:51 +0000 (17:52 +0200)
commitf4160e459c57646122beaea3f163b798179ea446
tree3e62f482cb03953772b562435d1b9385c73f4254
parenta943ac50d10aac96dca63d0460365a699d41fdd0
kvm: nVMX: Add support for "VMWRITE to any supported field"

Add support for "VMWRITE to any supported field in the VMCS" and
enable this feature by default in L1's IA32_VMX_MISC MSR. If userspace
clears the VMX capability bit, the old behavior will be restored.

Note that this feature is a prerequisite for kvm in L1 to use VMCS
shadowing, once that feature is available.

Signed-off-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c