[Lguest] [PATCH RFC 1/3] virtio_ring: add capacity check API

Rusty Russell rusty at rustcorp.com.au
Thu Jun 2 12:11:50 EST 2011


On Wed, 1 Jun 2011 12:49:46 +0300, "Michael S. Tsirkin" <mst at redhat.com> wrote:
> Add API to check ring capacity. Because of the option
> to use indirect buffers, this returns the worst
> case, not the normal case capacity.

Can we drop the silly "add_buf() returns capacity" hack then?

Thanks,
Rusty.


More information about the Lguest mailing list