Re: [virtio-comment] RE: [PATCH v3 2/2] content: Support enabling virtqueue after DRIVER_OK stage

From
Michael S. Tsirkin <>
Date
2023-10-26T09:18:10+00:00
ID
Thread
Re: [virtio-comment] RE: [PATCH v3 2/2] content: Support enabling virtqueue after DRIVER_OK stage
On Thu, Oct 26, 2023 at 08:38:51AM +0000, Parav Pandit wrote:
> > 2 can be solved if we allow resetting a queue before DRIVER_OK, 
> This is just the hack of enabling and reset for no apparent gain.
> Future devices may have many queues and enabling 1000 queues, resetting them is just an ugly interface.

Yes I can't say I love it either. The main driver is to try and make it
possible for device to know in advance the max # of queues that will
be used. We could alternatively just add this in a config register
maybe?

-- 
MST