aboutsummaryrefslogtreecommitdiffstats
path: root/virt/kvm/iommu.c
diff options
context:
space:
mode:
Diffstat (limited to 'virt/kvm/iommu.c')
-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 20115b1aac6a..d149940608da 100644
--- a/virt/kvm/iommu.c
+++ b/virt/kvm/iommu.c
@@ -228,7 +228,7 @@ int kvm_iommu_map_guest(struct kvm *kvm)
228{ 228{
229 int r; 229 int r;
230 230
231 if (!iommu_found()) { 231 if (!iommu_present(&pci_bus_type)) {
232 printk(KERN_ERR "%s: iommu not found\n", __func__); 232 printk(KERN_ERR "%s: iommu not found\n", __func__);
233 return -ENODEV; 233 return -ENODEV;
234 } 234 }