aboutsummaryrefslogtreecommitdiff
path: root/hw/usb/dev-storage-bot.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/usb/dev-storage-bot.c')
-rw-r--r--hw/usb/dev-storage-bot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/usb/dev-storage-bot.c b/hw/usb/dev-storage-bot.c
index 6aad026d11..68ebaca10c 100644
--- a/hw/usb/dev-storage-bot.c
+++ b/hw/usb/dev-storage-bot.c
@@ -32,6 +32,7 @@ static void usb_msd_bot_realize(USBDevice *dev, Error **errp)
usb_desc_create_serial(dev);
usb_desc_init(dev);
+ dev->flags |= (1 << USB_DEV_FLAG_IS_SCSI_STORAGE);
if (d->hotplugged) {
s->dev.auto_attach = 0;
}