Since microvm uses queues=4 when configuring the tap interface, this seems to require the multi_queue option to be set on the tap interface creation in the ip tuntap add command. Otherwise, running the MicroVM from shell will display:
$ result/bin/microvm-run
microvm@test: -netdev tap,id=microvm,ifname=microvm,script=no,downscript=no,queues=4: could not configure /dev/net/tun (microvm): Invalid argument
So, the full command should be:
$ ip tuntap add $NAME mode tap user $USER multi_queue
Since microvm uses
queues=4
when configuring the tap interface, this seems to require themulti_queue
option to be set on the tap interface creation in theip tuntap add
command. Otherwise, running the MicroVM from shell will display:So, the full command should be: