qemu-e2k/hw/scsi
Paolo Bonzini 488eef2f1d scsi: fix cancellation when I/O was completed but DMA was not.
Commit d577646 (scsi: Introduce scsi_req_cancel_complete, 2014-09-25)
was supposed to have no semantic change, but it missed a case.  When
r->aiocb has already been NULLed, but DMA was not complete and the
SCSI layer was waiting for scsi_req_continue, after the patch the
SCSI layer will not call the .cancel callback of SCSIBusInfo.

Fixes: d5776465ee
Cc: qemu-stable@nongnu.org
Reported-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Tested-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2015-01-14 10:38:57 +01:00
..
esp-pci.c
esp.c
lsi53c895a.c hw/scsi/lsi53c895a: add support for additional diag / debug registers 2015-01-14 10:38:57 +01:00
Makefile.objs
megasas.c scsi: Fuse g_malloc(); memset() into g_malloc0() 2014-12-15 12:21:02 +01:00
mfi.h
scsi-bus.c scsi: fix cancellation when I/O was completed but DMA was not. 2015-01-14 10:38:57 +01:00
scsi-disk.c scsi-disk: provide maximum transfer length 2014-12-15 12:21:02 +01:00
scsi-generic.c scsi: Drop superfluous conditionals around g_free() 2014-12-15 12:21:02 +01:00
spapr_vscsi.c
srp.h
vhost-scsi.c vhost: Fix vhostfd leak in error branch 2014-12-01 12:29:35 +00:00
viosrp.h
virtio-scsi-dataplane.c
virtio-scsi.c scsi: Use g_new() & friends where that makes obvious sense 2014-12-15 12:21:02 +01:00
vmw_pvscsi.c
vmw_pvscsi.h