Re: [PATCH V2] virtio-net: introduce admin control virtqueue

From
Cornelia Huck <>
Date
2021-01-29T10:57:59+00:00
ID
Thread
Re: [PATCH V2] virtio-net: introduce admin control virtqueue
On Thu, 28 Jan 2021 10:58:49 +0800
Jason Wang <> wrote:

> On 2021/1/27 äå6:59, Michael S. Tsirkin wrote:

> > Thus, an idea. How about controlling features instead?
> >
> > And with that, the interface becomes generic and applicable
> > to all devices not just net ...  
> 
> 
> Yes, so I think we probably need more than this e.g I had plan to 
> introduce a general admin virtqueue which could be use to replace the 
> transport specific way to configure/probe virtual devices. I think we 
> can add this new features controlling command via that virtqueue.
> 
> So if this makes sense. I will drop the trust command in this patch and 
> let admin cvq go first. Then I can post general admin virtqueue patch.
> 
> Does this make sense?

So, you'd introduce a generic admin virtqueue and give individual
device types the possibility to use it for device type specific
commands?