[virtio-dev] RE: RE: RE: RE: [virtio-comment] RE: RE: RE: RE: [RFC] virtio-net: support access and control the member devices

Parav Pandit
2023-08-04T12:50:36Z

> From: Michael S. Tsirkin <mst@redhat.com>
> Sent: Friday, August 4, 2023 4:03 PM

> > >
> > > At this point to have port for owner device requires creating a dedicated
> switching object, to be located sometimes side by side inside the owner,
> sometimes outside.
> > > All of these cases to be crafted, please rethink if this is _really_ needed as
> virtio object or not.
> >

> >
> > YES.
> >
> > We can hear others.
> >
> > @Jason @Michael
> >
> >
> > Thanks
>
>
> This is so abstract, hard to have any position as I'm not sure what we are
> discussing. If some virtio devices have an integrated switch then ability to
> control the switch through virtio seems useful.
>
True, for us, at this point we do not have plan to expose virtio switch device because users are not blocked on it.

> Re:queues - it's not by chance that we have multiple admin queues.
> So driver can dedicate one queue to filtering commands if that's felt to be
> important.
>
Admin queue currently do not send non admin command of the device.
Would you propose admin queue for something else also for rtc or console or cryto device and indicate its role so device can understand what is coming to it.