Revision 319ae529 hw/device-hotplug.c
b/hw/device-hotplug.c | ||
---|---|---|
29 | 29 |
|
30 | 30 |
DriveInfo *add_init_drive(const char *optstr) |
31 | 31 |
{ |
32 |
int fatal_error; |
|
33 | 32 |
DriveInfo *dinfo; |
34 | 33 |
QemuOpts *opts; |
35 | 34 |
|
... | ... | |
37 | 36 |
if (!opts) |
38 | 37 |
return NULL; |
39 | 38 |
|
40 |
dinfo = drive_init(opts, current_machine->use_scsi, &fatal_error);
|
|
39 |
dinfo = drive_init(opts, current_machine->use_scsi); |
|
41 | 40 |
if (!dinfo) { |
42 | 41 |
qemu_opts_del(opts); |
43 | 42 |
return NULL; |
Also available in: Unified diff