aboutsummaryrefslogtreecommitdiffstats
path: root/virt/kvm
diff options
context:
space:
mode:
Diffstat (limited to 'virt/kvm')
-rw-r--r--virt/kvm/iommu.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/virt/kvm/iommu.c b/virt/kvm/iommu.c
index 037cb6730e68..18e1e30019e3 100644
--- a/virt/kvm/iommu.c
+++ b/virt/kvm/iommu.c
@@ -168,11 +168,7 @@ int kvm_assign_device(struct kvm *kvm,
168 168
169 r = iommu_attach_device(domain, &pdev->dev); 169 r = iommu_attach_device(domain, &pdev->dev);
170 if (r) { 170 if (r) {
171 printk(KERN_ERR "assign device %x:%x:%x.%x failed", 171 dev_err(&pdev->dev, "kvm assign device failed ret %d", r);
172 pci_domain_nr(pdev->bus),
173 pdev->bus->number,
174 PCI_SLOT(pdev->devfn),
175 PCI_FUNC(pdev->devfn));
176 return r; 172 return r;
177 } 173 }
178 174