diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2011-04-18 18:47:12 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2011-05-26 12:14:15 +0200 |
commit | c557e889156c5f5da23b4b047aea804aefce4982 (patch) | |
tree | 51a3cb969786fe77e184b99318c3d87b6d029419 /hw/scsi.h | |
parent | 5c6c0e513600ba57c3e73b7151d3c0664438f7b5 (diff) | |
download | qemu-c557e889156c5f5da23b4b047aea804aefce4982.zip |
scsi: commonize purging requests
The code for canceling requests upon reset is already the same. Clean
it up and move it to scsi-bus.c.
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
@@ -114,5 +114,6 @@ 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); +void scsi_device_purge_requests(SCSIDevice *sdev); #endif |