]> Git Repo - qemu.git/commit - hw/block/dataplane/virtio-blk.c
virtio-blk: multiqueue batch notify
authorStefan Hajnoczi <[email protected]>
Tue, 21 Jun 2016 12:13:11 +0000 (13:13 +0100)
committerStefan Hajnoczi <[email protected]>
Tue, 28 Jun 2016 12:08:31 +0000 (13:08 +0100)
commite21737ab150c2742dd94089017db96c472dd4b87
tree355301fdbfbad823ace163c1183fdd918e4baefe
parent84419863f72f6b9ae1b4513fa73e28690f2d5458
virtio-blk: multiqueue batch notify

The batch notification BH needs to know which virtqueues to notify when
multiqueue is enabled.  Use a bitmap to track the virtqueues with
pending notifications.

At this point there is only one virtqueue so hard-code virtqueue index
0.  A later patch will switch to real virtqueue indices.

Signed-off-by: Stefan Hajnoczi <[email protected]>
Reviewed-by: Fam Zheng <[email protected]>
Message-id: 1466511196[email protected]
Signed-off-by: Stefan Hajnoczi <[email protected]>
hw/block/dataplane/virtio-blk.c
This page took 0.02242 seconds and 4 git commands to generate.