scsi: introduce scsi_req_data
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 18 Apr 2011 12:59:13 +0000 (14:59 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 26 May 2011 10:14:14 +0000 (12:14 +0200)
commitf776bfb23e163db2691b49dc9cde8d696beed5aa
tree75899831e47ea90207dbbcbb291bd896ed420506
parentdf865719b64b374cddc124f683e180d0d760002e
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