aboutsummaryrefslogtreecommitdiff
path: root/hw/block/dataplane/virtio-blk.h
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2016-06-21 13:13:12 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2016-06-28 13:08:32 +0100
commitb234cdda958b329dbbec840702c65432f4907623 (patch)
treeb66ff119058410d54a3ec7e68070ae4c03e0031f /hw/block/dataplane/virtio-blk.h
parente21737ab150c2742dd94089017db96c472dd4b87 (diff)
downloadqemu-b234cdda958b329dbbec840702c65432f4907623.zip
qemu-b234cdda958b329dbbec840702c65432f4907623.tar.gz
qemu-b234cdda958b329dbbec840702c65432f4907623.tar.bz2
virtio-blk: tell dataplane which vq to notify
Let the virtio_blk_data_plane_notify() caller decide which virtqueue to notify. This will allow the function to be used with multiqueue. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Fam Zheng <famz@redhat.com> Message-id: 1466511196-12612-4-git-send-email-stefanha@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/block/dataplane/virtio-blk.h')
-rw-r--r--hw/block/dataplane/virtio-blk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/block/dataplane/virtio-blk.h b/hw/block/dataplane/virtio-blk.h
index 0714c11..b1f0b95 100644
--- a/hw/block/dataplane/virtio-blk.h
+++ b/hw/block/dataplane/virtio-blk.h
@@ -26,6 +26,6 @@ void virtio_blk_data_plane_destroy(VirtIOBlockDataPlane *s);
void virtio_blk_data_plane_start(VirtIOBlockDataPlane *s);
void virtio_blk_data_plane_stop(VirtIOBlockDataPlane *s);
void virtio_blk_data_plane_drain(VirtIOBlockDataPlane *s);
-void virtio_blk_data_plane_notify(VirtIOBlockDataPlane *s);
+void virtio_blk_data_plane_notify(VirtIOBlockDataPlane *s, VirtQueue *vq);
#endif /* HW_DATAPLANE_VIRTIO_BLK_H */