X Tutup
Skip to content

Commit f8eb410

Browse files
alyssaiskeszybz
authored andcommitted
udev: make /dev/vfio/vfio 0666
Quoting Documentation/driver-api/vfio.rst in Linux: > note that /dev/vfio/vfio provides no capabilities on its own and is therefore > expected to be set to mode 0666 by the system
1 parent 73e7993 commit f8eb410

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rules.d/50-udev-default.rules.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ KERNEL=="fuse", MODE="0666", OPTIONS+="static_node=fuse"
9696
# The static_node is required on s390x and ppc (they are using MODULE_ALIAS)
9797
KERNEL=="kvm", GROUP="kvm", MODE="@DEV_KVM_MODE@", OPTIONS+="static_node=kvm"
9898

99+
KERNEL=="vfio", MODE="0666", OPTIONS+="static_node=vfio/vfio"
100+
99101
KERNEL=="vsock", MODE="0666"
100102
KERNEL=="vhost-vsock", GROUP="kvm", MODE="@DEV_KVM_MODE@", OPTIONS+="static_node=vhost-vsock"
101103

0 commit comments

Comments
 (0)
X Tutup