[libvirt] Libvirt and qemu multiqueue net

Daniel P. Berrange berrange at redhat.com
Tue Mar 12 17:08:55 UTC 2013


On Tue, Mar 12, 2013 at 11:17:16AM +0100, Michal Privoznik wrote:
> It's been a while since qemu added support for multiqueue virtio-net.
> For more info follow [1]. From usage POV, libvirt is required to pass
> multiple FDs:
> 
> qemu-kvm -netdev tap,id=hn0,fds=x:y:...:z,vhost=on,vhostfds=a:b:...:c
> -device virtio-net-pci,netdev=hn0,vectors=N ...
> 
> where count(x:...:z) = M. We are strongly advised to use 1:1 ratio => M=N.

You seem to be saying that the number of FDs we pass though be
the same as the vectors=N setting you show.

I thought that M:N referred to the ratio of tap FDs vs vhost FDs.


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list