diff options
-rw-r--r-- | host_config/udev-80-kvm-wrapper.rules | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/host_config/udev-80-kvm-wrapper.rules b/host_config/udev-80-kvm-wrapper.rules new file mode 100644 index 0000000..38b2fcd --- /dev/null +++ b/host_config/udev-80-kvm-wrapper.rules @@ -0,0 +1,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" |