diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2025-03-11 21:26:16 +0800 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2025-03-13 17:57:23 +0100 |
commit | 40aa38a651a8d4ca99c70e591176a97abcae5295 (patch) | |
tree | b0f83e2062bba8a4d0f70453ddb8413943c8dbf1 /scripts/qcow2-to-stdout.py | |
parent | bcede51d2d1ae03f99ccb2569e52b5062033d40d (diff) | |
download | qemu-40aa38a651a8d4ca99c70e591176a97abcae5295.zip qemu-40aa38a651a8d4ca99c70e591176a97abcae5295.tar.gz qemu-40aa38a651a8d4ca99c70e591176a97abcae5295.tar.bz2 |
virtio-scsi: only expose cmd vqs via iothread-vq-mapping
Peter Krempa and Kevin Wolf observed that iothread-vq-mapping is
confusing to use because the control and event virtqueues have a fixed
location before the command virtqueues but need to be treated
differently.
Only expose the command virtqueues via iothread-vq-mapping so that the
command-line parameter is intuitive: it controls where SCSI requests are
processed.
The control virtqueue needs to be hardcoded to the main loop thread for
technical reasons anyway. Kevin also pointed out that it's better to
place the event virtqueue in the main loop thread since its no poll
behavior would prevent polling if assigned to an IOThread.
This change is its own commit to avoid squashing the previous commit.
Suggested-by: Kevin Wolf <kwolf@redhat.com>
Suggested-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-ID: <20250311132616.1049687-14-stefanha@redhat.com>
Tested-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/qcow2-to-stdout.py')
0 files changed, 0 insertions, 0 deletions