> From: Eli Cohen <e...@nvidia.com>
> Sent: Monday, August 16, 2021 10:27 PM
> 
> It works fine when I am working with your version of qemu with support for
> multi queue.
> 
> The problem is that it is broken on qemu v6.0.0. If I register my vdpa device
> with more than 2 data virtqueues, qemu won't even create a netdevice in the
> VM.
> 
> I am not sure how to handle this. Is there some kind of indication I can get 
> as
> to the version of qemu so I can avoid using multiqueue for versions I know
> are problematic?

When user is creating the vdpa device, user should mention how many VQs to use.
We already expose max vqs that device can support.
Instead of some driver arbitrary value, it should be user specified.
At least for Netdev, it make sense to have number of VQs to be <= vcpus.
This knowledge is with QEMU users.
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

Reply via email to