qemu-e2k/hw/scsi
Mark Cave-Ayland 4ca2ba6fb0 esp: determine transfer direction directly from SCSI phase
The transfer direction is currently determined by checking the sign of ti_size
but as this series progresses ti_size can be zero at the end of the transfer.

Use the SCSI phase to determine the transfer direction as used in other SCSI
controller implementations.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20210304221103.6369-9-mark.cave-ayland@ilande.co.uk>
2021-03-07 10:39:05 +00:00
..
emulation.c
esp-pci.c esp: add vmstate_esp version to embedded ESPState 2021-03-07 10:39:05 +00:00
esp.c esp: determine transfer direction directly from SCSI phase 2021-03-07 10:39:05 +00:00
Kconfig
lsi53c895a.c scsi: drop 'result' argument from command_complete callback 2021-02-25 14:14:32 +01:00
megasas.c scsi: drop 'result' argument from command_complete callback 2021-02-25 14:14:32 +01:00
meson.build
mfi.h
mpi.h
mptconfig.c
mptendian.c
mptsas.c scsi: drop 'result' argument from command_complete callback 2021-02-25 14:14:32 +01:00
mptsas.h
scsi-bus.c scsi: drop 'result' argument from command_complete callback 2021-02-25 14:14:32 +01:00
scsi-disk.c scsi-disk: pass guest recoverable errors through even for rerror=stop 2021-02-25 14:14:32 +01:00
scsi-generic.c scsi: allow user to set werror as report 2021-02-25 14:14:32 +01:00
spapr_vscsi.c scsi: drop 'result' argument from command_complete callback 2021-02-25 14:14:32 +01:00
srp.h
trace-events esp: add PDMA trace events 2021-03-07 10:39:05 +00:00
trace.h
vhost-scsi-common.c
vhost-scsi.c
vhost-user-scsi.c qdev: Move softmmu properties to qdev-properties-system.h 2020-12-18 15:20:17 -05:00
viosrp.h
virtio-scsi-dataplane.c virtio-scsi: don't process IO on fenced dataplane 2021-02-25 14:14:32 +01:00
virtio-scsi.c scsi: drop 'result' argument from command_complete callback 2021-02-25 14:14:32 +01:00
vmw_pvscsi.c scsi: drop 'result' argument from command_complete callback 2021-02-25 14:14:32 +01:00
vmw_pvscsi.h