diff options
Diffstat (limited to 'hw/usb-msd.c')
-rw-r--r-- | hw/usb-msd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/usb-msd.c b/hw/usb-msd.c index 97d1e4a..76f5b02 100644 --- a/hw/usb-msd.c +++ b/hw/usb-msd.c @@ -532,6 +532,7 @@ static int usb_msd_initfn(USBDevice *dev) } } + add_boot_device_path(s->conf.bootindex, &dev->qdev, "/disk@0,0"); return 0; } @@ -595,6 +596,7 @@ static USBDevice *usb_msd_init(const char *filename) static struct USBDeviceInfo msd_info = { .product_desc = "QEMU USB MSD", .qdev.name = "usb-storage", + .qdev.fw_name = "storage", .qdev.size = sizeof(MSDState), .usb_desc = &desc, .init = usb_msd_initfn, |