summaryrefslogtreecommitdiffstats
path: root/hw/scsi.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-11-26 15:34:01 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-03 09:41:38 -0600
commitec766865633be4a36803fa33ee518c4166cfc459 (patch)
tree30a9407382698fabf0fb490f382f072aeba2723f /hw/scsi.h
parented3a34a3c8dcae6f46556ae7e2a667e6c16c8daa (diff)
downloadhqemu-ec766865633be4a36803fa33ee518c4166cfc459.zip
hqemu-ec766865633be4a36803fa33ee518c4166cfc459.tar.gz
scsi: add scsi_req_print()
Handy for debugging. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/scsi.h')
-rw-r--r--hw/scsi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/scsi.h b/hw/scsi.h
index 2fe8c12..8f0200d 100644
--- a/hw/scsi.h
+++ b/hw/scsi.h
@@ -107,6 +107,7 @@ SCSIRequest *scsi_req_find(SCSIDevice *d, uint32_t tag);
void scsi_req_free(SCSIRequest *req);
int scsi_req_parse(SCSIRequest *req, uint8_t *buf);
+void scsi_req_print(SCSIRequest *req);
void scsi_req_complete(SCSIRequest *req);
#endif
OpenPOWER on IntegriCloud