[virtio-dev] Re: [PATCH v2 0/2] transport-pci: Introduce legacy registers access using AQ

Michael S. Tsirkin
2023-05-16T04:18:36Z

On Tue, May 16, 2023 at 11:28:04AM +0800, Jason Wang wrote:
> >
> > > Admin virtqueue doesn't preventing anything from letting IMS go directly to the
> > > device.
> > But there is no aq/cfgq/cmdq defined for the guest, so with current proposal it is prevented.
>
>
> It's a choice of the implementation but not spec. Spec doesn't say adminq
> can't be used for guest.

It actually kind of does. adminq controls group members through the
group owner. owner is not itself a member. For a guest controlling a
member to use adminq you have to also pass the owner to guest.
Possible but not a standard architecture.

--
MST