KVM: rename vtd.c to iommu.c
Impact: file renamed The code in the vtd.c file can be reused for other IOMMUs as well. So rename it to make it clear that it handle more than VT-d. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
This commit is contained in:
parent
b653574a7d
commit
c4fa386428
|
@ -52,7 +52,7 @@ common-objs = $(addprefix ../../../virt/kvm/, kvm_main.o ioapic.o \
|
||||||
coalesced_mmio.o irq_comm.o)
|
coalesced_mmio.o irq_comm.o)
|
||||||
|
|
||||||
ifeq ($(CONFIG_DMAR),y)
|
ifeq ($(CONFIG_DMAR),y)
|
||||||
common-objs += $(addprefix ../../../virt/kvm/, vtd.o)
|
common-objs += $(addprefix ../../../virt/kvm/, iommu.o)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
kvm-objs := $(common-objs) kvm-ia64.o kvm_fw.o
|
kvm-objs := $(common-objs) kvm-ia64.o kvm_fw.o
|
||||||
|
|
|
@ -8,7 +8,7 @@ ifeq ($(CONFIG_KVM_TRACE),y)
|
||||||
common-objs += $(addprefix ../../../virt/kvm/, kvm_trace.o)
|
common-objs += $(addprefix ../../../virt/kvm/, kvm_trace.o)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DMAR),y)
|
ifeq ($(CONFIG_DMAR),y)
|
||||||
common-objs += $(addprefix ../../../virt/kvm/, vtd.o)
|
common-objs += $(addprefix ../../../virt/kvm/, iommu.o)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
EXTRA_CFLAGS += -Ivirt/kvm -Iarch/x86/kvm
|
EXTRA_CFLAGS += -Ivirt/kvm -Iarch/x86/kvm
|
||||||
|
|
Loading…
Reference in a new issue