Revision c6df7102 hw/scsi-bus.c

b/hw/scsi-bus.c
634 634
void scsi_req_data(SCSIRequest *req, int len)
635 635
{
636 636
    trace_scsi_req_data(req->dev->id, req->lun, req->tag, len);
637
    req->bus->ops->complete(req, SCSI_REASON_DATA, len);
637
    req->bus->ops->transfer_data(req, len);
638 638
}
639 639

  
640 640
void scsi_req_print(SCSIRequest *req)
......
670 670
    assert(req->status != -1);
671 671
    scsi_req_ref(req);
672 672
    scsi_req_dequeue(req);
673
    req->bus->ops->complete(req, SCSI_REASON_DONE, req->status);
673
    req->bus->ops->complete(req, req->status);
674 674
    scsi_req_unref(req);
675 675
}
676 676

  

Also available in: Unified diff