diff options
author | Joerg Roedel | 2011-09-06 16:03:26 +0200 |
---|---|---|
committer | Joerg Roedel | 2011-10-21 14:37:19 +0200 |
commit | 905d66c1e5dc8149e111f04a32bb193f25da1d53 (patch) | |
tree | 3b4d55034f1ca58a7956c88cb71f6af8cda2b697 /virt | |
parent | ff21776d12ff7993a6b236b8273ef62777d25dfb (diff) |
iommu/core: Add bus_type parameter to iommu_domain_alloc
This is necessary to store a pointer to the bus-specific
iommu_ops in the iommu-domain structure. It will be used
later to call into bus-specific iommu-ops.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'virt')
-rw-r--r-- | virt/kvm/iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/virt/kvm/iommu.c b/virt/kvm/iommu.c index 78c80f67f535..20115b1aac6a 100644 --- a/virt/kvm/iommu.c +++ b/virt/kvm/iommu.c @@ -233,7 +233,7 @@ int kvm_iommu_map_guest(struct kvm *kvm) return -ENODEV; } - kvm->arch.iommu_domain = iommu_domain_alloc(); + kvm->arch.iommu_domain = iommu_domain_alloc(&pci_bus_type); if (!kvm->arch.iommu_domain) return -ENOMEM; |