aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio/virtio-blk-pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/virtio/virtio-blk-pci.c')
-rw-r--r--hw/virtio/virtio-blk-pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/virtio/virtio-blk-pci.c b/hw/virtio/virtio-blk-pci.c
index efb2c22a1d..28838fa958 100644
--- a/hw/virtio/virtio-blk-pci.c
+++ b/hw/virtio/virtio-blk-pci.c
@@ -81,7 +81,7 @@ static void virtio_blk_pci_instance_init(Object *obj)
virtio_instance_init_common(obj, &dev->vdev, sizeof(dev->vdev),
TYPE_VIRTIO_BLK);
object_property_add_alias(obj, "bootindex", OBJECT(&dev->vdev),
- "bootindex", &error_abort);
+ "bootindex");
}
static const VirtioPCIDeviceTypeInfo virtio_blk_pci_info = {