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 1c627137c10ee2dcf59e0383ade8a9abfa2d4355)

- 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
..
2016-10-25 10:25:27 +01:00
2016-10-04 13:28:07 +01:00
2016-10-04 13:28:09 +01:00
2016-09-23 10:29:40 +10:00
2016-10-10 10:39:29 +01:00
2016-05-18 15:04:27 +03:00
2016-09-08 18:05:21 +04:00
2013-04-08 18:13:10 +02:00
2016-06-24 05:13:57 +03:00
2016-09-23 19:03:56 +03:00
2016-09-15 15:32:22 +03:00
2016-10-24 16:26:53 +01:00
2016-10-08 09:02:19 +03:00
2016-10-17 15:44:49 -02:00
2016-05-19 16:42:30 +02:00
2014-10-23 16:41:25 +02:00
2016-09-08 18:05:22 +04:00
2013-04-08 18:13:10 +02:00
2016-06-22 12:53:26 +02:00