summaryrefslogtreecommitdiffstats
path: root/hw/virtio
diff options
context:
space:
mode:
authorFam Zheng2017-07-14 04:14:56 +0200
committerPaolo Bonzini2017-07-14 12:04:42 +0200
commit08f1ecd873e98d2e04ee884c8e268a96b5fb4160 (patch)
tree10762159d1e3949884079d6e20624405249520d6 /hw/virtio
parentvirtio-blk: Convert to DEFINE_PROP_LINK (diff)
downloadqemu-08f1ecd873e98d2e04ee884c8e268a96b5fb4160.tar.gz
qemu-08f1ecd873e98d2e04ee884c8e268a96b5fb4160.tar.xz
qemu-08f1ecd873e98d2e04ee884c8e268a96b5fb4160.zip
virtio-scsi: Convert to DEFINE_PROP_LINK
Signed-off-by: Fam Zheng <famz@redhat.com> Message-Id: <20170714021509.23681-8-famz@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/virtio')
-rw-r--r--hw/virtio/virtio-pci.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/virtio/virtio-pci.c b/hw/virtio/virtio-pci.c
index 94f72f3e1a..cc69fe3214 100644
--- a/hw/virtio/virtio-pci.c
+++ b/hw/virtio/virtio-pci.c
@@ -2069,8 +2069,6 @@ static void virtio_scsi_pci_instance_init(Object *obj)
virtio_instance_init_common(obj, &dev->vdev, sizeof(dev->vdev),
TYPE_VIRTIO_SCSI);
- object_property_add_alias(obj, "iothread", OBJECT(&dev->vdev), "iothread",
- &error_abort);
}
static const TypeInfo virtio_scsi_pci_info = {