Revision caad4eb3 hw/scsi/lsi53c895a.c
b/hw/scsi/lsi53c895a.c | ||
---|---|---|
2096 | 2096 |
LSIState *s = LSI53C895A(dev); |
2097 | 2097 |
DeviceState *d = DEVICE(dev); |
2098 | 2098 |
uint8_t *pci_conf; |
2099 |
Error *err = NULL; |
|
2099 | 2100 |
|
2100 | 2101 |
pci_conf = dev->config; |
2101 | 2102 |
|
... | ... | |
2118 | 2119 |
|
2119 | 2120 |
scsi_bus_new(&s->bus, d, &lsi_scsi_info, NULL); |
2120 | 2121 |
if (!d->hotplugged) { |
2121 |
return scsi_bus_legacy_handle_cmdline(&s->bus); |
|
2122 |
scsi_bus_legacy_handle_cmdline(&s->bus, &err); |
|
2123 |
if (err != NULL) { |
|
2124 |
error_free(err); |
|
2125 |
return -1; |
|
2126 |
} |
|
2122 | 2127 |
} |
2123 | 2128 |
return 0; |
2124 | 2129 |
} |
Also available in: Unified diff