diff options
| author | Fam Zheng | 2014-09-28 03:48:00 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2014-09-30 13:30:51 +0200 |
| commit | 8e0a9320e94930fd6e5c2906c478203b80392f5c (patch) | |
| tree | 73d7bfb2fc1b5c0b1e5ec233fc5b64289a1edad3 /memory_mapping.c | |
| parent | scsi: Introduce scsi_req_cancel_complete (diff) | |
| download | qemu-8e0a9320e94930fd6e5c2906c478203b80392f5c.tar.gz qemu-8e0a9320e94930fd6e5c2906c478203b80392f5c.tar.xz 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 'memory_mapping.c')
0 files changed, 0 insertions, 0 deletions
