diff options
| author | Fam Zheng | 2014-09-30 05:40:23 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2014-09-30 13:30:51 +0200 |
| commit | 49e7e31aa00a9fb466203de19120fe5c4459cac0 (patch) | |
| tree | a1d711c93218beb0f3f3681d33b15959bec1699a /qobject/qlist.c | |
| parent | scsi: Introduce scsi_req_cancel_async (diff) | |
| download | qemu-49e7e31aa00a9fb466203de19120fe5c4459cac0.tar.gz qemu-49e7e31aa00a9fb466203de19120fe5c4459cac0.tar.xz qemu-49e7e31aa00a9fb466203de19120fe5c4459cac0.zip | |
virtio-scsi: Handle TMF request cancellation asynchronously
For VIRTIO_SCSI_T_TMF_ABORT_TASK and VIRTIO_SCSI_T_TMF_ABORT_TASK_SET,
use scsi_req_cancel_async to start the cancellation.
Because each tmf command may cancel multiple requests, we need to use a
counter to track the number of remaining requests we still need to wait
for.
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qobject/qlist.c')
0 files changed, 0 insertions, 0 deletions
