[PATCH 1/2] vhost: keep a reference to virtqueue index

David Marchand david.marchand at redhat.com
Fri Jul 22 16:00:56 CEST 2022


On Fri, Jul 22, 2022 at 3:54 PM David Marchand
<david.marchand at redhat.com> wrote:
>
> Having a back reference to the index of the vq in the dev->virtqueue[]
> array makes it possible to unify the internal API with only passing dev
> and vq.
> It also allows displaying the vq index in log messages.

Fwiw, this conflicts with the lock annotations I intend to finish for 22.11.


-- 
David Marchand



More information about the dev mailing list