diff options
| author | Fam Zheng <famz@redhat.com> | 2014-09-28 09:48:00 +0800 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-09-30 13:30:51 +0200 |
| commit | 8e0a9320e94930fd6e5c2906c478203b80392f5c (patch) | |
| tree | 73d7bfb2fc1b5c0b1e5ec233fc5b64289a1edad3 /qemu-file-unix.c | |
| parent | d5776465ee9a55815792efa34d79de240f4ffd99 (diff) | |
| download | focaccia-qemu-8e0a9320e94930fd6e5c2906c478203b80392f5c.tar.gz focaccia-qemu-8e0a9320e94930fd6e5c2906c478203b80392f5c.zip | |
scsi: Introduce scsi_req_cancel_async
Devices will call this function to start an asynchronous cancellation. The bus->info->cancel will be called after the request is canceled. Devices will probably need to track a separate TMF request that triggers this cancellation, and wait until the cancellation is done before completing it. So we store a notifier list in SCSIRequest and in scsi_req_cancel_complete we notify them. Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qemu-file-unix.c')
0 files changed, 0 insertions, 0 deletions