diff options
author | Gonglei <arei.gonglei@huawei.com> | 2014-10-07 16:00:32 +0800 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2014-10-15 09:52:55 +0200 |
commit | aeb98ddc50defe9479d81fcb2afb9aa0c5b61bc8 (patch) | |
tree | 1f175db8eb4ce4e4dfcf5561c81b523db3e52f37 /hw/s390x/virtio-ccw.c | |
parent | 8dece34f26dbb8995c8e857052ccd084937d6a66 (diff) | |
download | qemu-aeb98ddc50defe9479d81fcb2afb9aa0c5b61bc8.zip qemu-aeb98ddc50defe9479d81fcb2afb9aa0c5b61bc8.tar.gz qemu-aeb98ddc50defe9479d81fcb2afb9aa0c5b61bc8.tar.bz2 |
virtio-blk: alias bootindex property explicitly for virt-blk-pci/ccw/s390
Since the "bootindex" property is a QOM property and not a qdev property
now, we must alias it explicitly for virtio-blk-pci, as well as CCW and
s390-virtio.
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/s390x/virtio-ccw.c')
-rw-r--r-- | hw/s390x/virtio-ccw.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/s390x/virtio-ccw.c b/hw/s390x/virtio-ccw.c index 6b99fc9..6bb8708 100644 --- a/hw/s390x/virtio-ccw.c +++ b/hw/s390x/virtio-ccw.c @@ -819,6 +819,8 @@ static void virtio_ccw_blk_instance_init(Object *obj) TYPE_VIRTIO_BLK); object_property_add_alias(obj, "iothread", OBJECT(&dev->vdev),"iothread", &error_abort); + object_property_add_alias(obj, "bootindex", OBJECT(&dev->vdev), + "bootindex", &error_abort); } static int virtio_ccw_serial_init(VirtioCcwDevice *ccw_dev) |