KVM: nVMX: Move nested code to dedicated files
authorSean Christopherson <sean.j.christopherson@intel.com>
Mon, 3 Dec 2018 21:53:18 +0000 (13:53 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Dec 2018 16:59:46 +0000 (17:59 +0100)
commit55d2375e58a61be072431dd3d3c8a320f4a4a01b
tree7fe79f9170b7abae17e86dde50fdd3011f712126
parent7c97fcb3b68cd4d48a071bc1929c753d255dea47
KVM: nVMX: Move nested code to dedicated files

From a functional perspective, this is (supposed to be) a straight
copy-paste of code.  Code was moved piecemeal to nested.c as not all
code that could/should be moved was obviously nested-only.  The nested
code was then re-ordered as needed to compile, i.e. stats may not show
this is being a "pure" move despite there not being any intended changes
in functionality.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/Makefile
arch/x86/kvm/vmx/nested.c [new file with mode: 0644]
arch/x86/kvm/vmx/nested.h [new file with mode: 0644]
arch/x86/kvm/vmx/vmx.c