On Fri, Feb 05, 2016 at 12:52:55PM +, Peter Maydell wrote:
> On 4 February 2016 at 21:51, Michael S. Tsirkin wrote:
> > From: Paolo Bonzini
> >
> > The return code of virtqueue_pop/vring_pop is unused except to check for
> > errors or 0. We can thus easily move allocation inside the function
On 4 February 2016 at 21:51, Michael S. Tsirkin wrote:
> From: Paolo Bonzini
>
> The return code of virtqueue_pop/vring_pop is unused except to check for
> errors or 0. We can thus easily move allocation inside the functions
> and just return a pointer to the VirtQueueElement.
>
> The advantage
From: Paolo Bonzini
The return code of virtqueue_pop/vring_pop is unused except to check for
errors or 0. We can thus easily move allocation inside the functions
and just return a pointer to the VirtQueueElement.
The advantage is that we will be able to allocate only the space that
is needed fo