summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2008-11-26 15:51:19 +0100
committerJoerg Roedel <joerg.roedel@amd.com>2009-01-03 14:10:09 +0100
commitc4fa3864281c7d88b7262cbc6cbd5c90bb59860e (patch)
tree21209dceb4d978e24a009b848115d0d8bea0cbcc
parentb653574a7d14b663cc812cb20be6a114939ba186 (diff)
downloadop-kernel-dev-c4fa3864281c7d88b7262cbc6cbd5c90bb59860e.zip
op-kernel-dev-c4fa3864281c7d88b7262cbc6cbd5c90bb59860e.tar.gz
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>
-rw-r--r--arch/ia64/kvm/Makefile2
-rw-r--r--arch/x86/kvm/Makefile2
-rw-r--r--virt/kvm/iommu.c (renamed from virt/kvm/vtd.c)0
3 files changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/kvm/Makefile b/arch/ia64/kvm/Makefile
index 76464dc..cb69dfc 100644
--- a/arch/ia64/kvm/Makefile
+++ b/arch/ia64/kvm/Makefile
@@ -52,7 +52,7 @@ common-objs = $(addprefix ../../../virt/kvm/, kvm_main.o ioapic.o \
coalesced_mmio.o irq_comm.o)
ifeq ($(CONFIG_DMAR),y)
-common-objs += $(addprefix ../../../virt/kvm/, vtd.o)
+common-objs += $(addprefix ../../../virt/kvm/, iommu.o)
endif
kvm-objs := $(common-objs) kvm-ia64.o kvm_fw.o
diff --git a/arch/x86/kvm/Makefile b/arch/x86/kvm/Makefile
index c023435..00f46c2 100644
--- a/arch/x86/kvm/Makefile
+++ b/arch/x86/kvm/Makefile
@@ -8,7 +8,7 @@ ifeq ($(CONFIG_KVM_TRACE),y)
common-objs += $(addprefix ../../../virt/kvm/, kvm_trace.o)
endif
ifeq ($(CONFIG_DMAR),y)
-common-objs += $(addprefix ../../../virt/kvm/, vtd.o)
+common-objs += $(addprefix ../../../virt/kvm/, iommu.o)
endif
EXTRA_CFLAGS += -Ivirt/kvm -Iarch/x86/kvm
diff --git a/virt/kvm/vtd.c b/virt/kvm/iommu.c
index d46de9a..d46de9a 100644
--- a/virt/kvm/vtd.c
+++ b/virt/kvm/iommu.c
OpenPOWER on IntegriCloud