aboutsummaryrefslogtreecommitdiff
path: root/hw/usb-msd.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-09-25 21:42:43 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-05 09:32:49 -0500
commitcb23117be707ea805dec1ab06b3bae06b9fc38c1 (patch)
tree9132b8433a0ea9a01c9404adf02513fc76a03bc6 /hw/usb-msd.c
parentef816d831f474aa3f9b804bebbdfd860dfe585dd (diff)
scsi: hotplug windup
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/usb-msd.c')
-rw-r--r--hw/usb-msd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/usb-msd.c b/hw/usb-msd.c
index 843a22f4e4..a19b31d68e 100644
--- a/hw/usb-msd.c
+++ b/hw/usb-msd.c
@@ -527,6 +527,7 @@ static int usb_msd_initfn(USBDevice *dev)
s->dev.speed = USB_SPEED_FULL;
scsi_bus_new(&s->bus, &s->dev.qdev, 0, 1, usb_msd_command_complete);
s->scsi_dev = scsi_bus_legacy_add_drive(&s->bus, s->dinfo, 0);
+ s->bus.qbus.allow_hotplug = 0;
usb_msd_handle_reset(dev);
return 0;
}