]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Support virtio indirect buffers
authorSasha Levin <levinsasha928@gmail.com>
Mon, 28 Nov 2011 17:54:27 +0000 (19:54 +0200)
committerPekka Enberg <penberg@kernel.org>
Mon, 28 Nov 2011 20:50:55 +0000 (22:50 +0200)
commit870a88b23331118c7999451a7f5601de517251f2
tree6e5d1e2eccb9e6b23f4ed263dadd080fea8b8d77
parentb7b038d41a20ab93d98ecc897ecac6b8c2e2cbd6
kvm tools: Support virtio indirect buffers

Indirect buffers are ring descriptors which point to more (even more)
descriptors.

This can be used to increase the effective ring capacity, which helps the
guest to batch large requests - very useful for blk devices.

This patch also enables indirect buffers for virtio-net and virtio-blk.

The patch is based on the lguest's code which does the same.

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/virtio/blk.c
tools/kvm/virtio/core.c
tools/kvm/virtio/net.c