summaryrefslogtreecommitdiffstats
path: root/hw/virtio/vhost-user-fs-pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/virtio/vhost-user-fs-pci.c')
-rw-r--r--hw/virtio/vhost-user-fs-pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/virtio/vhost-user-fs-pci.c b/hw/virtio/vhost-user-fs-pci.c
index 8bb389bd28..2ed8492b3f 100644
--- a/hw/virtio/vhost-user-fs-pci.c
+++ b/hw/virtio/vhost-user-fs-pci.c
@@ -68,6 +68,8 @@ static void vhost_user_fs_pci_instance_init(Object *obj)
virtio_instance_init_common(obj, &dev->vdev, sizeof(dev->vdev),
TYPE_VHOST_USER_FS);
+ object_property_add_alias(obj, "bootindex", OBJECT(&dev->vdev),
+ "bootindex");
}
static const VirtioPCIDeviceTypeInfo vhost_user_fs_pci_info = {