virtio-blk: drop unused virtio_blk_handle_vq() return value
commit186b9691730ca4d3d59fa135d7d24467a3254c9a
authorStefan Hajnoczi <stefanha@redhat.com>
Tue, 7 Dec 2021 13:23:33 +0000 (7 13:23 +0000)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 12 Jan 2022 17:09:39 +0000 (12 17:09 +0000)
treeb5249c7f41853946397f16d9b7d22bde3d3e7e82
parentd93d16c0450b3d0fe8e25568663531eb250d6aae
virtio-blk: drop unused virtio_blk_handle_vq() return value

The return value of virtio_blk_handle_vq() is no longer used. Get rid of
it. This is a step towards unifying the dataplane and non-dataplane
virtqueue handler functions.

Prepare virtio_blk_handle_output() to be used by both dataplane and
non-dataplane by making the condition for starting ioeventfd more
specific. This way it won't trigger when dataplane has already been
started.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Message-id: 20211207132336.36627-4-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/block/virtio-blk.c
include/hw/virtio/virtio-blk.h