usb-bot: Mark device as non hotpluggable
commite9fd12aa0dd734f1e3725d93a0afa8721fab3bd2
authorIgor Mammedov <imammedo@redhat.com>
Fri, 26 Sep 2014 09:28:35 +0000 (26 09:28 +0000)
committerAndreas Färber <afaerber@suse.de>
Wed, 15 Oct 2014 03:03:14 +0000 (15 05:03 +0200)
treeadd116502a9a1e3cf7e12786546ece06d59e01e0
parent10bdcd565992e17f0b4f04e0b28793b169e51a26
usb-bot: Mark device as non hotpluggable

usb-bot creates SCSI bus and immediately makes it
non hotpluggable which was making not possible to
hotplug usb-bot since QEMU would abort at
bus_add_child(scsi-hd) time when usb-bot is
realized.

Mark usb-bot as not hotpluggable so that attempt
to hotplug it would error out even before it gets
to device initialization point.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/usb/dev-storage.c