scsi: Drop SCSIReqOps.cancel_io
commita83cfd12d9868b6732e3c6e5b2cbd69a2e0ab689
authorFam Zheng <famz@redhat.com>
Wed, 24 Sep 2014 08:27:55 +0000 (24 16:27 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 30 Sep 2014 11:30:51 +0000 (30 13:30 +0200)
tree9df0c0f8fa533ba608e654dbc0b545d48266d2df
parent3df9caf88f5c0859ae380101fea47609ba1dbfbd
scsi: Drop SCSIReqOps.cancel_io

The only two implementations are identical to each other, with nothing specific
to device: they only call bdrv_aio_cancel with the SCSIRequest.aiocb.

Let's move it to scsi-bus.

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