aboutsummaryrefslogtreecommitdiffstats
path: root/virt/kvm
diff options
context:
space:
mode:
Diffstat (limited to 'virt/kvm')
-rw-r--r--virt/kvm/iommu.c2
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)
233 return -ENODEV; 233 return -ENODEV;
234 } 234 }
235 235
236 kvm->arch.iommu_domain = iommu_domain_alloc(); 236 kvm->arch.iommu_domain = iommu_domain_alloc(&pci_bus_type);
237 if (!kvm->arch.iommu_domain) 237 if (!kvm->arch.iommu_domain)
238 return -ENOMEM; 238 return -ENOMEM;
239 239