2 ccflags-y
+= -Iarch
/x86
/kvm
8 KVM
:= ..
/..
/..
/virt
/kvm
10 kvm-y
+= $(KVM
)/kvm_main.o
$(KVM
)/coalesced_mmio.o \
11 $(KVM
)/eventfd.o
$(KVM
)/irqchip.o
$(KVM
)/vfio.o
12 kvm-
$(CONFIG_KVM_ASYNC_PF
) += $(KVM
)/async_pf.o
14 kvm-y
+= x86.o mmu.o emulate.o i8259.o irq.o lapic.o \
15 i8254.o ioapic.o irq_comm.o cpuid.o pmu.o mtrr.o \
16 hyperv.o page_track.o debugfs.o
18 kvm-intel-y
+= vmx.o pmu_intel.o
19 kvm-amd-y
+= svm.o pmu_amd.o
21 obj-
$(CONFIG_KVM
) += kvm.o
22 obj-
$(CONFIG_KVM_INTEL
) += kvm-intel.o
23 obj-
$(CONFIG_KVM_AMD
) += kvm-amd.o