qemu-e2k/hw/scsi
Paolo Bonzini 36896bffd1 scsi: always call notifier on async cancellation
This was found by code inspection.  If the request is cancelled twice,
the notifier is never called on the second cancellation request,
and hence for example a TMF might never finish.

All the calls in scsi_req_cancel_async are idempotent, so the change
is safe.

Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1450290827-30508-2-git-send-email-pbonzini@redhat.com>
2015-12-17 17:33:49 +01:00
..
esp-pci.c
esp.c
lsi53c895a.c
Makefile.objs
megasas.c megasas: Use qemu_hw_version() instead of QEMU_VERSION 2015-11-04 15:02:31 +01:00
mfi.h
scsi-bus.c scsi: always call notifier on async cancellation 2015-12-17 17:33:49 +01:00
scsi-disk.c scsi-disk: Account for failed operations 2015-11-12 16:22:47 +01:00
scsi-generic.c
spapr_vscsi.c hw/scsi/spapr_vscsi: Remove superfluous memset 2015-10-23 10:38:11 +11:00
srp.h
vhost-scsi.c vhost: use a function for each call 2015-10-22 14:34:49 +03:00
viosrp.h
virtio-scsi-dataplane.c dataplane: Mark host notifiers' client type as "external" 2015-10-23 18:18:24 +02:00
virtio-scsi.c virtio-scsi: don't crash without a valid device 2015-11-26 16:47:44 +01:00
vmw_pvscsi.c vmw_pvscsi: Introduce 'x-disable-pcie' backword compatability property 2015-12-17 15:24:34 +01:00
vmw_pvscsi.h