diff options
| author | Paolo Bonzini | 2016-10-21 22:48:10 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2016-10-30 18:51:32 +0100 |
| commit | ad07cd69ecaffbaa015459a46975ab32e50df805 (patch) | |
| tree | db5a7cc223cc1cfedd98c5decb96a9ca1a1985da /include/exec/user | |
| parent | virtio-blk: always use dataplane path if ioeventfd is active (diff) | |
| download | qemu-ad07cd69ecaffbaa015459a46975ab32e50df805.tar.gz qemu-ad07cd69ecaffbaa015459a46975ab32e50df805.tar.xz qemu-ad07cd69ecaffbaa015459a46975ab32e50df805.zip | |
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>
Diffstat (limited to 'include/exec/user')
0 files changed, 0 insertions, 0 deletions
