]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: nVMX: Allow nested_enable_evmcs to be NULL
authorSean Christopherson <sean.j.christopherson@intel.com>
Mon, 3 Dec 2018 21:53:10 +0000 (13:53 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Dec 2018 16:17:57 +0000 (17:17 +0100)
commitde7b51044ea5e818d2233056532a29db4504cc8d
tree9a976d2d7abc877e7bc7b5a36f1714ba2b3ab21f
parent51bcb1c2e8ff74a28fe1c0a91bbfe598458fc2d2
KVM: x86: nVMX: Allow nested_enable_evmcs to be NULL

...so that it can conditionally set by the VMX code, i.e. iff @nested is
true.  This will in turn allow it to be moved out of vmx.c and into a
nested-specified file.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c