block/export: Abstract out the logic of virtio-blk I/O process
authorXie Yongji <xieyongji@bytedance.com>
Mon, 23 May 2022 08:46:06 +0000 (16:46 +0800)
committerKevin Wolf <kwolf@redhat.com>
Fri, 24 Jun 2022 15:07:06 +0000 (17:07 +0200)
commit5c368029703da5f16dd2bbc4308c4486e74c1aa3
tree694819ff849e8086a10b1ccc5cb5d38594f46992
parent8e7fd6f623fb8f6c6eb9b456d9221d4c8226f3d5
block/export: Abstract out the logic of virtio-blk I/O process

Abstract the common logic of virtio-blk I/O process to a function
named virtio_blk_process_req(). It's needed for the following commit.

Signed-off-by: Xie Yongji <xieyongji@bytedance.com>
Message-Id: <20220523084611.91-4-xieyongji@bytedance.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
MAINTAINERS
block/export/meson.build
block/export/vhost-user-blk-server.c
block/export/virtio-blk-handler.c [new file with mode: 0644]
block/export/virtio-blk-handler.h [new file with mode: 0644]