KVM: use the new intel iommu APIs
authorWeidong Han <weidong.han@intel.com>
Tue, 2 Dec 2008 13:03:39 +0000 (21:03 +0800)
committerJoerg Roedel <joerg.roedel@amd.com>
Sat, 3 Jan 2009 13:02:19 +0000 (14:02 +0100)
commit260782bcfdaaa7850f29d6bb2ec6603019168c57
tree6f0b72f07ee04ad1210aca861dd4ee8c51846609
parentfe40f1e020d0923f5f35ca15f02a206c75a28053
KVM: use the new intel iommu APIs

intel iommu APIs are updated, use the new APIs.

In addition, change kvm_iommu_map_guest() to just create the domain, let kvm_iommu_assign_device() assign device.

Signed-off-by: Weidong Han <weidong.han@intel.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
include/linux/kvm_host.h
virt/kvm/kvm_main.c
virt/kvm/vtd.c