summaryrefslogtreecommitdiffstats
path: root/host_config/udev-80-kvm-wrapper.rules
blob: 38b2fcd6af8bae6ba2be9b093a669005dd3d0f87 (plain)
1
2
3
4
5
6
7
8
9
10
# qemu-kvm package provides /lib/udev/rules.d/80-kvm.rules
# with identical content
KERNEL=="kvm", GROUP="kvm", MODE="0666"

# extra stuff for vfio:
# /dev/vfio/vfio is open to all (the vfio module sets this right, but
# might be needed to autoload it on access magic)
KERNEL=="vfio", GROUP="kvm", MODE="0666"
# /dev/vfio/<vfio-group> should be restricted to qemu user/group
SUBSYSTEM=="vfio", GROUP="kvm", MODE="0660"