Here are two little changes to be able to run testpmd as non-root with virtio ports in a guest. This requires a functional vIOMMU (the main pain parts being writing a Q35 machine configuration in qemu for x86 guests).
No major change since the RFC, I just did not find the time to describe the full setup (Q35 x86 machine config + permissions on /dev/hugepages and /dev/vfio in the guest + ulimit -l unlimited). -- David Marchand David Marchand (2): bus/pci: check IO permissions for UIO only net/virtio: do not require IO permissions drivers/bus/pci/bsd/pci.c | 5 +++++ drivers/bus/pci/linux/pci.c | 6 ++++++ drivers/bus/pci/linux/pci_uio.c | 6 ++++++ drivers/net/virtio/virtio_ethdev.c | 5 ----- 4 files changed, 17 insertions(+), 5 deletions(-) -- 1.8.3.1