diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2011-04-18 14:59:13 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2011-05-26 12:14:14 +0200 |
commit | ab9adc88c80186cfef29bda076363e20aa675241 (patch) | |
tree | 75899831e47ea90207dbbcbb291bd896ed420506 /hw/scsi.h | |
parent | 40f16dd1279e7f26357b3c4b3838a89ffc6153da (diff) |
scsi: introduce scsi_req_data
This abstracts calling the command_complete callback, reducing churn
in the following patches.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'hw/scsi.h')
-rw-r--r-- | hw/scsi.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -105,6 +105,7 @@ void scsi_req_free(SCSIRequest *req); int scsi_req_parse(SCSIRequest *req, uint8_t *buf); void scsi_req_print(SCSIRequest *req); +void scsi_req_data(SCSIRequest *req, int len); void scsi_req_complete(SCSIRequest *req); #endif |