qemu-e2k/hw/scsi
Alexey Kardashevskiy 22956a3755 spapr-vscsi: fix CRQ status
Normally VIOSRP_OK (0) means success and non-zero value means error
except VIOSRP_OK2 (0x99) which is another success code by weird accident.

This uses 0 as success code always as some guests do not cope with
the 0x99 value well. The existing linux driver checks for both VIOSRP_OK
and VIOSRP_OK2 since 2.6.32.

This returns non-zero code (VIOSRP_ADAPTER_FAIL == 0x10) on errors which
can only happen if DMA write failed.

Suggested-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2014-03-14 10:06:55 +01:00
..
esp-pci.c hw: set interrupts using pci irq wrappers 2013-10-14 17:11:45 +03:00
esp.c
lsi53c895a.c pci, pc, acpi fixes, enhancements 2013-10-31 16:58:32 +01:00
Makefile.objs
megasas.c qdev: Remove hex8/32/64 property types 2014-02-14 21:12:04 +01:00
mfi.h
scsi-bus.c scsi-bus: Fix transfer length for VERIFY with BYTCHK=11b 2014-02-22 10:02:23 +01:00
scsi-disk.c scsi-disk: Add support for port WWN and index descriptors in VPD page 83h 2014-02-22 10:02:24 +01:00
scsi-generic.c scsi: Change scsi sense buf size to 252 2014-02-22 10:02:23 +01:00
spapr_vscsi.c spapr-vscsi: fix CRQ status 2014-03-14 10:06:55 +01:00
srp.h
vhost-scsi.c virtio: Convert exit to unrealize 2013-12-09 21:46:49 +01:00
viosrp.h
virtio-scsi.c virtio-scsi: Prevent assertion on missed events 2014-01-15 10:36:24 +01:00
vmw_pvscsi.c exec: Make stl_*_phys input an AddressSpace 2014-02-11 22:57:18 +10:00
vmw_pvscsi.h