]> 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)
commit51bcb1c2e8ff74a28fe1c0a91bbfe598458fc2d2
treec613dfe8321f8919bf716246a4deddeb60323362
parentc1fff3bfd2310f879119d5697f43143c6b3006f9
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