From ab9adc88c80186cfef29bda076363e20aa675241 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Mon, 18 Apr 2011 14:59:13 +0200 Subject: scsi: introduce scsi_req_data This abstracts calling the command_complete callback, reducing churn in the following patches. Signed-off-by: Paolo Bonzini Reviewed-by: Christoph Hellwig --- hw/scsi.h | 1 + 1 file changed, 1 insertion(+) (limited to 'hw/scsi.h') 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 -- cgit v1.1