OSDN Git Service

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)
commit944c3464538de42b92284a922f0929b5fe6bd893
treec613dfe8321f8919bf716246a4deddeb60323362
parent89b0c9f58350f6820f062ea12000e8a171177f3b
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