aboutsummaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
Diffstat (limited to 'rules')
-rw-r--r--rules/.gitignore1
-rw-r--r--rules/50-udev-default.rules.in (renamed from rules/50-udev-default.rules)2
2 files changed, 3 insertions, 0 deletions
diff --git a/rules/.gitignore b/rules/.gitignore
index 93a50ddd8..ea6e216ba 100644
--- a/rules/.gitignore
+++ b/rules/.gitignore
@@ -1 +1,2 @@
+/50-udev-default.rules
/99-systemd.rules
diff --git a/rules/50-udev-default.rules b/rules/50-udev-default.rules.in
index 3347c8cd8..064f66a97 100644
--- a/rules/50-udev-default.rules
+++ b/rules/50-udev-default.rules.in
@@ -74,6 +74,8 @@ KERNEL=="tun", MODE="0666", OPTIONS+="static_node=net/tun"
KERNEL=="fuse", MODE="0666", OPTIONS+="static_node=fuse"
+KERNEL=="kvm", GROUP="kvm", MODE="@DEV_KVM_MODE@"
+
SUBSYSTEM=="ptp", ATTR{clock_name}=="KVM virtual PTP", SYMLINK += "ptp_kvm"
LABEL="default_end"