diff options
| author | Anthony Liguori <aliguori@us.ibm.com> | 2011-07-22 09:23:43 -0500 |
|---|---|---|
| committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-07-22 09:23:43 -0500 |
| commit | bf1cd9b4f54c8f630291dcd057c3aa293a510bcb (patch) | |
| tree | f348eb9684fcc99b35797e47e12903881c8ede8b /hw/scsi-generic.c | |
| parent | d1afc48b7cfdb4490f322d5d82a2aae6d545ec06 (diff) | |
| parent | aaf55b4795d95d87353a08710f237f88d81a3c35 (diff) | |
| download | focaccia-qemu-bf1cd9b4f54c8f630291dcd057c3aa293a510bcb.tar.gz focaccia-qemu-bf1cd9b4f54c8f630291dcd057c3aa293a510bcb.zip | |
Merge remote-tracking branch 'kwolf/for-anthony' into staging
Diffstat (limited to 'hw/scsi-generic.c')
| -rw-r--r-- | hw/scsi-generic.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/scsi-generic.c b/hw/scsi-generic.c index 8e59c7ee89..90345a714f 100644 --- a/hw/scsi-generic.c +++ b/hw/scsi-generic.c @@ -96,11 +96,12 @@ static int scsi_get_sense(SCSIRequest *req, uint8_t *outbuf, int len) return size; } -static SCSIRequest *scsi_new_request(SCSIDevice *d, uint32_t tag, uint32_t lun) +static SCSIRequest *scsi_new_request(SCSIDevice *d, uint32_t tag, uint32_t lun, + void *hba_private) { SCSIRequest *req; - req = scsi_req_alloc(sizeof(SCSIGenericReq), d, tag, lun); + req = scsi_req_alloc(sizeof(SCSIGenericReq), d, tag, lun, hba_private); return req; } |