]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Feb 2023 11:47:14 +0000 (12:47 +0100)
[ Upstream commit a821bab2d1ee869e04b218b198837bf07f2d27c1 ]

...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>
Stable-dep-of: a44b331614e6 ("KVM: x86/vmx: Do not skip segment attributes if unusable bit is set")
Signed-off-by: Sasha Levin <sashal@kernel.org>
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 dc4f2fdf5e5793aee01ca5b301f2139bda73bb50..13fd54de5449b3a94adc0f49b36fd146562d64d8 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