summaryrefslogtreecommitdiffstats
path: root/hw/scsi-bus.c
diff options
context:
space:
mode:
authorPaolo Bonzini2012-07-27 08:23:07 +0200
committerPaolo Bonzini2012-07-27 08:25:24 +0200
commit814589c450440da2fd7567aafaf6259bc8ea02f4 (patch)
tree514b7673f74e795309f4228168d2ad77722503f2 /hw/scsi-bus.c
parentscsi-disk: removable hard disks support load/eject (diff)
downloadqemu-814589c450440da2fd7567aafaf6259bc8ea02f4.tar.gz
qemu-814589c450440da2fd7567aafaf6259bc8ea02f4.tar.xz
qemu-814589c450440da2fd7567aafaf6259bc8ea02f4.zip
scsi: add tracepoint for scsi_req_cancel
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/scsi-bus.c')
-rw-r--r--hw/scsi-bus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/scsi-bus.c b/hw/scsi-bus.c
index dd0cdd0570..543d9d2649 100644
--- a/hw/scsi-bus.c
+++ b/hw/scsi-bus.c
@@ -1496,6 +1496,7 @@ void scsi_req_complete(SCSIRequest *req, int status)
void scsi_req_cancel(SCSIRequest *req)
{
+ trace_scsi_req_cancel(req->dev->id, req->lun, req->tag);
if (!req->enqueued) {
return;
}