]> git.proxmox.com Git - qemu.git/commit
scsi: introduce scsi_req_cancel
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 18 Apr 2011 20:53:08 +0000 (22:53 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 26 May 2011 10:14:15 +0000 (12:14 +0200)
commit94d3f98a3f3caddd7875f9a11776daeb84962a7b
tree54c5dd9f137b66c31087affaf6db2d07787b681c
parent19d110ab8af3308ce58d0936f085f0124930e7e7
scsi: introduce scsi_req_cancel

This is for when the request must be dropped in the void,
but still memory should be freed.  To this end, the devices
register a second callback in SCSIBusOps.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
hw/esp.c
hw/lsi53c895a.c
hw/scsi-bus.c
hw/scsi-disk.c
hw/scsi-generic.c
hw/scsi.h
hw/spapr_vscsi.c
hw/usb-msd.c