Revision 3329f07b hw/usb-msd.c

b/hw/usb-msd.c
575 575

  
576 576
    /* parse -usbdevice disk: syntax into drive opts */
577 577
    snprintf(id, sizeof(id), "usb%d", nr++);
578
    opts = qemu_opts_create(&qemu_drive_opts, id, 0);
578
    opts = qemu_opts_create(qemu_find_opts("drive"), id, 0);
579 579

  
580 580
    p1 = strchr(filename, ':');
581 581
    if (p1++) {

Also available in: Unified diff