aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio/iothread-vq-mapping.c
AgeCommit message (Collapse)AuthorFilesLines
2025-03-13virtio: extract iothread-vq-mapping.h APIStefan Hajnoczi1-0/+131
The code that builds an array of AioContext pointers indexed by the virtqueue is not specific to virtio-blk. virtio-scsi will need to do the same thing, so extract the functions. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Message-ID: <20250311132616.1049687-11-stefanha@redhat.com> Tested-by: Peter Krempa <pkrempa@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>