lguest: add support for indirect ring entries
authorMark McLoughlin <markmc@redhat.com>
Mon, 11 May 2009 17:11:46 +0000 (18:11 +0100)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 12 Jun 2009 12:57:13 +0000 (22:27 +0930)
commitd1f0132e76a11b05167313c606a853953f416081
treeabd06f91d578b1927249f6a467910da88b3ec910
parentb60da13fc7bbf99d3c68578bd3fbcf66e1cb5f41
lguest: add support for indirect ring entries

Support the VIRTIO_RING_F_INDIRECT_DESC feature.

This is a simple matter of changing the descriptor walking
code to operate on a struct vring_desc* and supplying it
with an indirect table if detected.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Documentation/lguest/lguest.c