scsi: introduce scsi_req_data
commitab9adc88c80186cfef29bda076363e20aa675241
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 18 Apr 2011 12:59:13 +0000 (18 14:59 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 26 May 2011 10:14:14 +0000 (26 12:14 +0200)
tree75899831e47ea90207dbbcbb291bd896ed420506
parent40f16dd1279e7f26357b3c4b3838a89ffc6153da
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>
hw/scsi-bus.c
hw/scsi-disk.c
hw/scsi-generic.c
hw/scsi.h
trace-events