summaryrefslogtreecommitdiffstats
path: root/hw/scsi.h
diff options
context:
space:
mode:
authorPaolo Bonzini2011-08-03 10:49:18 +0200
committerAnthony Liguori2011-08-12 15:31:28 +0200
commitc7b488721d6aafe32994ac63f8d690ae6d4729fa (patch)
treed2924e0c0ca4744c71e76f169643b2437604a4a0 /hw/scsi.h
parentscsi: add support for unit attention conditions (diff)
downloadqemu-c7b488721d6aafe32994ac63f8d690ae6d4729fa.tar.gz
qemu-c7b488721d6aafe32994ac63f8d690ae6d4729fa.tar.xz
qemu-c7b488721d6aafe32994ac63f8d690ae6d4729fa.zip
scsi: report unit attention on reset
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/scsi.h')
-rw-r--r--hw/scsi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/scsi.h b/hw/scsi.h
index 09c3606fa6..98fd689859 100644
--- a/hw/scsi.h
+++ b/hw/scsi.h
@@ -187,7 +187,7 @@ uint8_t *scsi_req_get_buf(SCSIRequest *req);
int scsi_req_get_sense(SCSIRequest *req, uint8_t *buf, int len);
void scsi_req_abort(SCSIRequest *req, int status);
void scsi_req_cancel(SCSIRequest *req);
-void scsi_device_purge_requests(SCSIDevice *sdev);
+void scsi_device_purge_requests(SCSIDevice *sdev, SCSISense sense);
int scsi_device_get_sense(SCSIDevice *dev, uint8_t *buf, int len, bool fixed);
#endif