Revision c5bf71a9 hw/scsi-generic.c
b/hw/scsi-generic.c | ||
---|---|---|
96 | 96 |
return size; |
97 | 97 |
} |
98 | 98 |
|
99 |
static SCSIRequest *scsi_new_request(SCSIDevice *d, uint32_t tag, uint32_t lun) |
|
99 |
static SCSIRequest *scsi_new_request(SCSIDevice *d, uint32_t tag, uint32_t lun, |
|
100 |
void *hba_private) |
|
100 | 101 |
{ |
101 | 102 |
SCSIRequest *req; |
102 | 103 |
|
103 |
req = scsi_req_alloc(sizeof(SCSIGenericReq), d, tag, lun); |
|
104 |
req = scsi_req_alloc(sizeof(SCSIGenericReq), d, tag, lun, hba_private);
|
|
104 | 105 |
return req; |
105 | 106 |
} |
106 | 107 |
|
Also available in: Unified diff