Re: [Qemu-devel] [PATCH v3 6/7] scsi: Introduce scsi_req_cancel_async

2014-09-27 Thread Fam Zheng
On Thu, 09/25 10:51, Paolo Bonzini wrote: > Il 25/09/2014 04:20, Fam Zheng ha scritto: > > 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 reque

Re: [Qemu-devel] [PATCH v3 6/7] scsi: Introduce scsi_req_cancel_async

2014-09-25 Thread Paolo Bonzini
Il 25/09/2014 04:20, Fam Zheng ha scritto: > 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

[Qemu-devel] [PATCH v3 6/7] scsi: Introduce scsi_req_cancel_async

2014-09-24 Thread Fam Zheng
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