aboutsummaryrefslogtreecommitdiff
path: root/hw/scsi.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2011-04-18 14:59:13 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2011-05-26 12:14:14 +0200
commitab9adc88c80186cfef29bda076363e20aa675241 (patch)
tree75899831e47ea90207dbbcbb291bd896ed420506 /hw/scsi.h
parent40f16dd1279e7f26357b3c4b3838a89ffc6153da (diff)
downloadqemu-ab9adc88c80186cfef29bda076363e20aa675241.zip
qemu-ab9adc88c80186cfef29bda076363e20aa675241.tar.gz
qemu-ab9adc88c80186cfef29bda076363e20aa675241.tar.bz2
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/scsi.h b/hw/scsi.h
index d3b5d56..7c09f32 100644
--- a/hw/scsi.h
+++ b/hw/scsi.h
@@ -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