On 8 December 2016 at 01:52, Jason Wang <jasow...@redhat.com> wrote: > On 2016年12月07日 22:32, Peter Maydell wrote: >> It's particularly confusing in this case that fd= doesn't work with >> queues=, because the user isn't trying to pass multiple fds, just >> the one is fine. > > > Since fd can only accept on file descriptor, so it implies 1 queue. For > "fds", specifying queues seems redundant, since qemu can count the #fds by > itself.
Opening /dev/net/tun like net/tap-linux.c does also only gives you one file descriptor, but it still supports multiple queues, unless I'm misunderstanding how this works (quite possible). thanks -- PMM