aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio/virtio-iommu-pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/virtio/virtio-iommu-pci.c')
-rw-r--r--hw/virtio/virtio-iommu-pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/virtio/virtio-iommu-pci.c b/hw/virtio/virtio-iommu-pci.c
index 32e3215d1d..4588361d6b 100644
--- a/hw/virtio/virtio-iommu-pci.c
+++ b/hw/virtio/virtio-iommu-pci.c
@@ -56,7 +56,7 @@ static void virtio_iommu_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp)
}
object_property_set_link(OBJECT(dev),
OBJECT(pci_get_bus(&vpci_dev->pci_dev)),
- "primary-bus", errp);
+ "primary-bus", &error_abort);
qdev_realize(vdev, BUS(&vpci_dev->bus), errp);
}