OSDN Git Service

scsi: Introduce scsi_req_cancel_complete
authorFam Zheng <famz@redhat.com>
Thu, 25 Sep 2014 02:20:47 +0000 (10:20 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 30 Sep 2014 11:30:51 +0000 (13:30 +0200)
commitd5776465ee9a55815792efa34d79de240f4ffd99
tree24a4cd8b2d744c144dba6f7dfccf170044b10a75
parenta83cfd12d9868b6732e3c6e5b2cbd69a2e0ab689
scsi: Introduce scsi_req_cancel_complete

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 <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi/scsi-bus.c
hw/scsi/scsi-disk.c
hw/scsi/scsi-generic.c
include/hw/scsi/scsi.h