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

From
Michael S. Tsirkin <>
Date
2021-01-27T08:48:11+00:00
ID
Thread
Re: [PATCH V2] virtio-net: introduce admin control virtqueue
On Wed, Jan 27, 2021 at 11:30:14AM +0800, Jason Wang wrote:
> > 
> > Does the management device get to choose if it wants to trust a virtual
> > device, i.e. can it fail enabling the trust?
> 
> 
> Yes, the idea is to let management device to choose which virtual device is
> trust. For the possible failure, I think we should allow the device to fail
> the enabling, e.g when the device is lacking resources for virtual devices
> (e.g mac address tables etc).
> 
> Thanks

Wrt SRIOV at least, the standard model is to have the PF control VFs.
I am not saying trusting some VF instead has no uses but
unless someone requested it I'd stick to the standard model
initially.

-- 
MST