]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Prepare support for VIRTIO_RING_F_EVENT_IDX
authorSasha Levin <levinsasha928@gmail.com>
Thu, 17 Nov 2011 13:53:24 +0000 (15:53 +0200)
committerPekka Enberg <penberg@kernel.org>
Fri, 18 Nov 2011 06:43:00 +0000 (08:43 +0200)
commit76d68ff0d6f965fadee4d954ab1e67d68eb16e77
tree65289eeec65fc815916e5684c1473639c8cfd03b
parentd160d73a7f0d4d6bab795e7f2d44e56880dc13a5
kvm tools: Prepare support for VIRTIO_RING_F_EVENT_IDX

This patch is the base for enabling support for event index feature in the virtio spec.
We do so by updating and evaluating the used/avail event idx in the virtio ring functions.

Actual usage of this flag is in the following patches.

The results are less notifications between the guest and host, and in
result faster operation of the virt queues.

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/include/kvm/virtio.h