scsi: add bootindex to qom property
commit44fb6337b9568ccb9f0d6dfb357eeb69f66d8527
authorGonglei <arei.gonglei@huawei.com>
Tue, 7 Oct 2014 08:00:28 +0000 (7 16:00 +0800)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 15 Oct 2014 07:52:55 +0000 (15 09:52 +0200)
tree41dff80fa4aeb223c9e1a86d14a1e6f11c60bd29
parent81782b6a7874c7f6e69d9d95747e477c4c17ceeb
scsi: add bootindex to qom property

Add a qom property with the same name 'bootindex',
when we remove it form qdev property, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/scsi/scsi-bus.c