diff --git a/arch/x86/kvm/Makefile b/arch/x86/kvm/Makefile index 880ffe403b35..af41534af496 100644 --- a/arch/x86/kvm/Makefile +++ b/arch/x86/kvm/Makefile @@ -2,9 +2,9 @@ # Makefile for Kernel-based Virtual Machine module # -common-objs = $(addprefix ../../../drivers/kvm/, kvm_main.o) +common-objs = $(addprefix ../../../virt/kvm/, kvm_main.o) -EXTRA_CFLAGS += -I drivers/kvm +EXTRA_CFLAGS += -I virt/kvm kvm-objs := $(common-objs) x86.o mmu.o x86_emulate.o i8259.o irq.o lapic.o \ ioapic.o diff --git a/drivers/kvm/iodev.h b/virt/kvm/iodev.h similarity index 100% rename from drivers/kvm/iodev.h rename to virt/kvm/iodev.h diff --git a/drivers/kvm/kvm_main.c b/virt/kvm/kvm_main.c similarity index 100% rename from drivers/kvm/kvm_main.c rename to virt/kvm/kvm_main.c