KVM: Drop CONFIG_DMAR dependency around kvm_iommu_map_pages
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 18 Oct 2010 13:38:40 +0000 (15:38 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:53:15 +0000 (10:53 +0200)
commit2a31339aa014c0d0b97c57d3ebc997732f8f47fc
treec758cfb01455966f7855701f6d16f2f8709bb247
parentd7a79b6c80fdbe4366484805ee07a4735fc427d8
KVM: Drop CONFIG_DMAR dependency around kvm_iommu_map_pages

We also have to call kvm_iommu_map_pages for CONFIG_AMD_IOMMU. So drop
the dependency on Intel IOMMU, kvm_iommu_map_pages will be a nop anyway
if CONFIG_IOMMU_API is not defined.

KVM-Stable-Tag.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
virt/kvm/kvm_main.c