[PATCH vfio 10/11] vfio/virtio: Expose admin commands over virtio device

Michael S. Tsirkin
Tue, 10 Oct 2023 20:42:20 -0000

On Tue, Oct 10, 2023 at 07:09:08PM +0300, Yishai Hadas
wrote:
>
> > > Assuming that we'll put each command inside virtio as the
generic layer, we
> > > won't be able to call/use this API internally to get the PF
as of cyclic
> > > dependencies between the modules, link will fail.

I just mean:
virtio_admin_legacy_io_write(sruct pci_device *,  ....)


internally it starts from vf gets the pf (or vf itself or whatever
the transport is) sends command gets status returns.

what is cyclic here?

--
MST