mbox series

[v3,0/2] Using virtio ethdev ports as non-root

Message ID 1571732503-30424-1-git-send-email-david.marchand@redhat.com (mailing list archive)
Headers
Series Using virtio ethdev ports as non-root |

Message

David Marchand Oct. 22, 2019, 8:21 a.m. UTC
  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).
  

Comments

David Marchand Oct. 25, 2019, 10:11 a.m. UTC | #1
On Tue, Oct 22, 2019 at 10:22 AM David Marchand
<david.marchand@redhat.com> wrote:
>
> 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

Applied, thanks for the reviews Maxime, Tiwei.



--
David Marchand