Revision a803cb8e hw/device-hotplug.c

b/hw/device-hotplug.c
38 38
    if (!opts)
39 39
        return NULL;
40 40

  
41
    dinfo = drive_init(opts, current_machine, &fatal_error);
41
    dinfo = drive_init(opts, current_machine->use_scsi, &fatal_error);
42 42
    if (!dinfo) {
43 43
        qemu_opts_del(opts);
44 44
        return NULL;

Also available in: Unified diff