RE: [PATCH 4/6] device assignment: build vtd.c for Intel IOMMU support

Zhang, Xiantao
2008-10-29T07:38:14Z

muli@il.ibm.com wrote:
> From: Amit Shah <amit.shah@redhat.com>
>
> Signed-off-by: Amit Shah <amit.shah@redhat.com>
> Signed-off-by: Muli Ben-Yehuda <muli@il.ibm.com>
> ---
> kernel/x86/Kbuild | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/kernel/x86/Kbuild b/kernel/x86/Kbuild
> index 2369d00..c4723b1 100644
> --- a/kernel/x86/Kbuild
> +++ b/kernel/x86/Kbuild
> @@ -9,6 +9,9 @@ kvm-objs := kvm_main.o x86.o mmu.o x86_emulate.o
> ../anon_inodes.o irq.o i8259.o ifeq ($(EXT_CONFIG_KVM_TRACE),y)
> kvm-objs += kvm_trace.o
> endif
> +ifeq ($(CONFIG_DMAR),y)
> +kvm-objs += vtd.o
> +endif
> kvm-intel-objs := vmx.o vmx-debug.o ../external-module-compat.o
> kvm-amd-objs := svm.o ../external-module-compat.o
>
> --
> 1.5.6.5

Please also add the corresponding stuff for ia64 side. From 2.6.28-rc1, kvm/ia64 guests also have the vt-d support. Thanks!
Xiantao