summaryrefslogtreecommitdiff
path: root/rhel/usr_lib_udev_rules.d_91-vfio.rules
diff options
context:
space:
mode:
authoraaron conole <aconole@redhat.com>2017-08-09 16:36:53 -0400
committerRussell Bryant <russell@ovn.org>2017-08-10 14:17:52 -0400
commitea5dbd792d7b3cd12339517f7aa042161970a477 (patch)
treeca5ba14c6bf99e79e2c37d41adb57068f9d8e78b /rhel/usr_lib_udev_rules.d_91-vfio.rules
parent12f62e9df6d58f45320eb4f4f54f5ab8b0cdd8e2 (diff)
downloadopenvswitch-ea5dbd792d7b3cd12339517f7aa042161970a477.tar.gz
redhat: add vfio udev rules
This commit builds on the non-root ovs work and adds a udev rule which will automatically set the group permissions of vfio devices. Fixes: e3e738a3d058 ("redhat: allow dpdk to also run as non-root user") Signed-off-by: Aaron Conole <aconole@redhat.com> Signed-off-by: Russell Bryant <russell@ovn.org>
Diffstat (limited to 'rhel/usr_lib_udev_rules.d_91-vfio.rules')
-rw-r--r--rhel/usr_lib_udev_rules.d_91-vfio.rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/rhel/usr_lib_udev_rules.d_91-vfio.rules b/rhel/usr_lib_udev_rules.d_91-vfio.rules
new file mode 100644
index 000000000..8e34b2a2b
--- /dev/null
+++ b/rhel/usr_lib_udev_rules.d_91-vfio.rules
@@ -0,0 +1 @@
+ACTION=="add", SUBSYSTEM=="vfio*", GROUP="hugetlbfs", MODE="0660"