qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 0/2] virtio: cosmetic tweaks


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH 0/2] virtio: cosmetic tweaks
Date: Fri, 14 Oct 2016 16:53:42 +0100
User-agent: Mutt/1.7.0 (2016-08-17)

On Tue, Oct 11, 2016 at 11:22:02AM +0200, Ladi Prosek wrote:
> Just a trivial couple of patches addressing minor style issues.
> 
> Enforcing the correct order of operations (pop, unpop, push, rewind) with an 
> assert,
> which was another potential change discussed previously, would add a 
> non-trivial
> amount of code and is not worth the effort in my opinion. A simple 
> linked-list of
> VirtQueueElement would not be enough because these are not in the ownership 
> of the
> common virtio code. The effect of an out-of-order, yet valid, virtqueue_push 
> would
> need to be encoded in the linked list even though the element has been 
> deallocated.
> It's almost like maintaining a shadow available ring - doable but not 
> justified at
> the moment.
> 
> Ladi Prosek (2):
>   virtio: rename virtqueue_discard to virtqueue_unpop
>   virtio: make virtqueue_alloc_element static
> 
> 

Reviewed-by: Stefan Hajnoczi <address@hidden>

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]