qemu/hw/block/dataplane
Stefan Hajnoczi b6948ab01d virtio-blk: add iothread-vq-mapping parameter
Add the iothread-vq-mapping parameter to assign virtqueues to IOThreads.
Store the vq:AioContext mapping in the new struct
VirtIOBlockDataPlane->vq_aio_context[] field and refactor the code to
use the per-vq AioContext instead of the BlockDriverState's AioContext.

Reimplement --device virtio-blk-pci,iothread= and non-IOThread mode by
assigning all virtqueues to the IOThread and main loop's AioContext in
vq_aio_context[], respectively.

The comment in struct VirtIOBlockDataPlane about EventNotifiers is
stale. Remove it.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-ID: <20231220134755.814917-5-stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2023-12-21 22:49:28 +01:00
..
meson.build hw/virtio: Build various target-agnostic objects just once 2023-06-23 02:54:44 -04:00
trace-events docs: fix references to docs/devel/tracing.rst 2021-06-02 06:51:09 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
virtio-blk.c virtio-blk: add iothread-vq-mapping parameter 2023-12-21 22:49:28 +01:00
virtio-blk.h virtio-blk: add iothread-vq-mapping parameter 2023-12-21 22:49:28 +01:00
xen-block.c block: remove AioContext locking 2023-12-21 22:49:27 +01:00
xen-block.h xen-block: implement BlockDevOps->drained_begin() 2023-05-30 17:32:02 +02:00