Skip to content

Commit 55d2375

Browse files
Sean Christophersonbonzini
authored andcommitted
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 <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
1 parent 7c97fcb commit 55d2375

File tree

4 files changed

+7340
-7302
lines changed

4 files changed

+7340
-7302
lines changed

arch/x86/kvm/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ kvm-y += x86.o mmu.o emulate.o i8259.o irq.o lapic.o \
1616
i8254.o ioapic.o irq_comm.o cpuid.o pmu.o mtrr.o \
1717
hyperv.o page_track.o debugfs.o
1818

19-
kvm-intel-y += vmx/vmx.o vmx/pmu_intel.o vmx/vmcs12.o vmx/evmcs.o
19+
kvm-intel-y += vmx/vmx.o vmx/pmu_intel.o vmx/vmcs12.o vmx/evmcs.o vmx/nested.o
2020
kvm-amd-y += svm.o pmu_amd.o
2121

2222
obj-$(CONFIG_KVM) += kvm.o

0 commit comments

Comments
 (0)