qemu/hw/scsi
Paolo Bonzini ad07cd69ec virtio-scsi: always use dataplane path if ioeventfd is active
Override start_ioeventfd and stop_ioeventfd to start/stop the
whole dataplane logic.  This has some positive side effects:

- no need anymore for virtio_add_queue_aio (i.e. a revert of
  commit 1c627137c1)

- no need anymore to switch from generic ioeventfd handlers to
  dataplane

It detects some errors better:

    $ qemu-system-x86_64 -object iothread,id=io \
          -device virtio-scsi-pci,ioeventfd=off,iothread=io
    qemu-system-x86_64: -device virtio-scsi-pci,ioeventfd=off,iothread=io:
    ioeventfd is required for iothread

while previously it would have started just fine.

Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2016-10-30 19:51:32 +02:00
..
esp-pci.c
esp.c
lsi53c895a.c lsi: never set DMA FIFO Empty (DFE) bit in DSTAT register 2016-09-13 19:08:45 +02:00
Makefile.objs
megasas.c Revert "megasas: remove useless check for cmd->frame" 2016-09-13 19:09:43 +02:00
mfi.h
mpi.h
mptconfig.c scsi: mptconfig: fix misuse of MPTSAS_CONFIG_PACK 2016-09-13 19:08:46 +02:00
mptendian.c
mptsas.c * Support multiple -d trace:PATTERN arguments (Daniel) 2016-09-15 18:12:40 +01:00
mptsas.h
scsi-bus.c
scsi-disk.c dma-helpers: explicitly pass alignment into DMA helpers 2016-10-27 16:29:13 -04:00
scsi-generic.c
spapr_vscsi.c spapr_vscsi: fix build error introduced by f19661c8 2016-10-05 11:05:28 +11:00
srp.h
trace-events spapr_vscsi: fix build error introduced by f19661c8 2016-10-05 11:05:28 +11:00
vhost-scsi.c
viosrp.h
virtio-scsi-dataplane.c virtio-scsi: always use dataplane path if ioeventfd is active 2016-10-30 19:51:32 +02:00
virtio-scsi.c virtio-scsi: always use dataplane path if ioeventfd is active 2016-10-30 19:51:32 +02:00
vmw_pvscsi.c scsi: pvscsi: limit process IO loop to ring size 2016-09-14 12:25:14 +02:00
vmw_pvscsi.h