在 2021/8/17 上午11:55, Jason Wang 写道:
I think that could work. I will code this and update.
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.
Qemu should hide MQ feature in this case but looks like it doesn't.
Will have a look.
So it looks to me current Qemu code doesn't take care about the case
when a feature (e.g MQ):
1) supported by the vhost
2) enabled via the command line
3) but not supported by the Qemu
Not sure it's worth to bother.
Thanks
_______________________________________________
Virtualization mailing list
Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/virtualization