KVM: VMX: Move VMX specific files to a "vmx" subdirectory
authorSean Christopherson <sean.j.christopherson@intel.com>
Mon, 3 Dec 2018 21:52:56 +0000 (13:52 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Dec 2018 11:34:24 +0000 (12:34 +0100)
...to prepare for shattering vmx.c into multiple files without having
to prepend "vmx_" to all new files.

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/pmu_intel.c [moved from arch/x86/kvm/pmu_intel.c with 100% similarity]
arch/x86/kvm/vmx/vmx.c [moved from arch/x86/kvm/vmx.c with 100% similarity]
arch/x86/kvm/vmx/vmx_evmcs.h [moved from arch/x86/kvm/vmx_evmcs.h with 100% similarity]
arch/x86/kvm/vmx/vmx_shadow_fields.h [moved from arch/x86/kvm/vmx_shadow_fields.h with 100% similarity]

index dc4f2fd..13fd54d 100644 (file)
@@ -16,7 +16,7 @@ kvm-y                 += x86.o mmu.o emulate.o i8259.o irq.o lapic.o \
                           i8254.o ioapic.o irq_comm.o cpuid.o pmu.o mtrr.o \
                           hyperv.o page_track.o debugfs.o
 
-kvm-intel-y            += vmx.o pmu_intel.o
+kvm-intel-y            += vmx/vmx.o vmx/pmu_intel.o
 kvm-amd-y              += svm.o pmu_amd.o
 
 obj-$(CONFIG_KVM)      += kvm.o
similarity index 100%
rename from arch/x86/kvm/vmx.c
rename to arch/x86/kvm/vmx/vmx.c