]> git.ipfire.org Git - thirdparty/qemu.git/commit
virtio-blk: tidy up iothread_vq_mapping functions
authorStefan Hajnoczi <stefanha@redhat.com>
Tue, 11 Mar 2025 13:26:12 +0000 (21:26 +0800)
committerKevin Wolf <kwolf@redhat.com>
Thu, 13 Mar 2025 16:57:23 +0000 (17:57 +0100)
commit2fa67a7b1d7957dc0cc482136ba58c460463ecb6
treeb97d6ade730afafa657402ca5691fd4d9d63b297
parent366b5811d6170f4ed74329a60dc77b1633e13798
virtio-blk: tidy up iothread_vq_mapping functions

Use noun_verb() function naming instead of verb_noun() because the
former is the most common naming style for APIs. The next commit will
move these functions into a header file so that virtio-scsi can call
them.

Shorten iothread_vq_mapping_apply()'s iothread_vq_mapping_list argument
to just "list" like in the other functions.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-ID: <20250311132616.1049687-10-stefanha@redhat.com>
Tested-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/block/virtio-blk.c