qemu-irix/hw
Paolo Bonzini 9e55d58806 megasas: clean up and fix request completion/cancellation
megasas_command_cancel is a callback; it should report the abort in
the frame, not try another abort!  Compare for instance with
mptsas_request_cancelled.

So extract the common bits for request completion in a new function
megasas_complete_command, call it from both the .complete and .cancel
callbacks, and remove duplicate pieces from the DCMD path.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20161110152751.4267-2-pbonzini@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-11-28 15:11:17 +01:00
..
9pfs
acpi nvdimm acpi: introduce NVDIMM_DSM_MEMORY_SIZE 2016-11-15 17:20:37 +02:00
adc
alpha
arm fw_cfg: move FW_CFG_NB_CPUS out of fw_cfg_init1() 2016-11-16 12:09:58 -02:00
audio
block virtio: set ISR on dataplane notifications 2016-11-18 17:29:25 +02:00
bt
char spapr-vty: Fix bad assert() statement 2016-11-15 10:08:43 +11:00
core virtio, vhost, pc, pci: documentation, fixes and cleanups 2016-11-15 19:50:36 +00:00
cpu
cris
display
dma
gpio
i2c
i386 virtio, vhost, pc: fixes 2016-11-21 11:09:58 +00:00
ide
input
intc
ipack
ipmi ipmi: fix qemu crash while migrating with ipmi 2016-11-18 17:50:09 +02:00
isa
lm32
m68k
mem
microblaze
mips
misc ivshmem: Fix 64 bit memory bar configuration 2016-11-18 17:29:34 +02:00
moxie
net virtio, vhost, pc, pci: documentation, fixes and cleanups 2016-11-15 19:50:36 +00:00
nvram fw_cfg: move FW_CFG_NB_CPUS out of fw_cfg_init1() 2016-11-16 12:09:58 -02:00
openrisc
pci
pci-bridge
pci-host
pcmcia
ppc fw_cfg: move FW_CFG_NB_CPUS out of fw_cfg_init1() 2016-11-16 12:09:58 -02:00
s390x virtio: allow per-device-class legacy features 2016-11-15 17:20:36 +02:00
scsi megasas: clean up and fix request completion/cancellation 2016-11-28 15:11:17 +01:00
sd
sh4
smbios
sparc fw_cfg: move FW_CFG_NB_CPUS out of fw_cfg_init1() 2016-11-16 12:09:58 -02:00
sparc64 fw_cfg: move FW_CFG_NB_CPUS out of fw_cfg_init1() 2016-11-16 12:09:58 -02:00
ssi
timer
tpm
tricore
unicore32
usb xen: attach pvusb usb bus to backend qdev 2016-11-22 10:29:41 -08:00
vfio
virtio virtio: set ISR on dataplane notifications 2016-11-18 17:29:25 +02:00
watchdog
xen xen: create qdev for each backend device 2016-11-22 10:29:39 -08:00
xenpv
xtensa
Makefile.objs