aboutsummaryrefslogtreecommitdiff
path: root/hw/pci/pci-hotplug.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pci/pci-hotplug.c')
-rw-r--r--hw/pci/pci-hotplug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci/pci-hotplug.c b/hw/pci/pci-hotplug.c
index f38df30540..180ee07fef 100644
--- a/hw/pci/pci-hotplug.c
+++ b/hw/pci/pci-hotplug.c
@@ -99,7 +99,7 @@ static int scsi_hot_add(Monitor *mon, DeviceState *adapter,
dinfo->unit = qemu_opt_get_number(dinfo->opts, "unit", -1);
dinfo->bus = scsibus->busnr;
scsidev = scsi_bus_legacy_add_drive(scsibus, dinfo->bdrv, dinfo->unit,
- false, -1);
+ false, -1, NULL);
if (!scsidev) {
return -1;
}