aboutsummaryrefslogtreecommitdiff
path: root/arch/ia64/kvm/Makefile
diff options
context:
space:
mode:
authorXiantao Zhang <xiantao.zhang@intel.com>2008-10-08 08:29:33 +0800
committerAvi Kivity <avi@redhat.com>2008-10-15 14:25:39 +0200
commit2381ad241d0bea1253a37f314b270848067640bb (patch)
treef722e3da63c8f26ef7309653848ab7cea02e08cb /arch/ia64/kvm/Makefile
parentb010eb5103cfbe12ae6f08a4cdb3a748bf78c410 (diff)
KVM: ia64: Add intel iommu support for guests.
With intel iommu hardware, we can assign devices to kvm/ia64 guests. Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'arch/ia64/kvm/Makefile')
-rw-r--r--arch/ia64/kvm/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/ia64/kvm/Makefile b/arch/ia64/kvm/Makefile
index 3b1a1c156ef..cf37f8f490c 100644
--- a/arch/ia64/kvm/Makefile
+++ b/arch/ia64/kvm/Makefile
@@ -46,6 +46,10 @@ EXTRA_AFLAGS += -Ivirt/kvm -Iarch/ia64/kvm/
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)
+endif
+
kvm-objs := $(common-objs) kvm-ia64.o kvm_fw.o
obj-$(CONFIG_KVM) += kvm.o