Revision 72cf2d4f hw/pci-hotplug.c

b/hw/pci-hotplug.c
84 84
    switch (type) {
85 85
    case IF_SCSI:
86 86
        success = 1;
87
        scsibus = LIST_FIRST(&dev->qdev.child_bus);
87
        scsibus = QLIST_FIRST(&dev->qdev.child_bus);
88 88
        scsi_bus_legacy_add_drive(DO_UPCAST(SCSIBus, qbus, scsibus),
89 89
                                  dinfo, dinfo->unit);
90 90
        break;

Also available in: Unified diff