Re: [Qemu-devel] [PATCH v3 5/7] scsi: Introduce scsi_req_cancel_complete

2014-09-25 Thread Paolo Bonzini
Il 25/09/2014 04:20, Fam Zheng ha scritto: > Let the aio cb do the clean up and notification job after scsi_req_cancel, in > preparation for asynchronous cancellation. > > Signed-off-by: Fam Zheng > --- > hw/scsi/scsi-bus.c | 14 ++ > hw/scsi/scsi-disk.c| 8 > hw/sc

[Qemu-devel] [PATCH v3 5/7] scsi: Introduce scsi_req_cancel_complete

2014-09-24 Thread Fam Zheng
Let the aio cb do the clean up and notification job after scsi_req_cancel, in preparation for asynchronous cancellation. Signed-off-by: Fam Zheng --- hw/scsi/scsi-bus.c | 14 ++ hw/scsi/scsi-disk.c| 8 hw/scsi/scsi-generic.c | 1 + include/hw/scsi/scsi.h | 1 + 4