]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: Move nested hardware/vcpu {un}setup to helper functions
authorSean Christopherson <sean.j.christopherson@intel.com>
Mon, 3 Dec 2018 21:53:09 +0000 (13:53 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Dec 2018 16:17:56 +0000 (17:17 +0100)
commit5da9ef8999b7a8bc883eb42942206a1b9bb078e0
treec613dfe8321f8919bf716246a4deddeb60323362
parentfb32136230d0b2c8aceb4dac9b0687897230e366
KVM: VMX: Move nested hardware/vcpu {un}setup to helper functions

Eventually this will allow us to move the nested VMX code out of vmx.c.
Note that this also effectively wraps @enable_shadow_vmcs with @nested
so that it too can be moved out of vmx.c.

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