Re: [RFC v2 4/7] vduse: return internal vq group struct as map token

From: Jason Wang
Date: Sun Aug 10 2025 - 23:11:48 EST


On Thu, Aug 7, 2025 at 7:58 PM Eugenio Pérez <eperezma@xxxxxxxxxx> wrote:
>
> Return the internal struct that represents the vq group as virtqueue map
> token, instead of the device.

Note that Michael prefers to use the iova domain. This indeed seems to
be better.

> This allows the DMA functions to access

s/DMA/map/

> the information per group.
>
> At this moment all the virtqueues share the same vq group, that only
> can point to ASID 0. This change prepares the infrastructure for actual
> per-group address space handling
>
> Signed-off-by: Eugenio Pérez <eperezma@xxxxxxxxxx>

Thanks