diff options
Diffstat (limited to 'system/kvm-kmod/fixup_udev_rules.diff')
-rw-r--r-- | system/kvm-kmod/fixup_udev_rules.diff | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/system/kvm-kmod/fixup_udev_rules.diff b/system/kvm-kmod/fixup_udev_rules.diff index 24f34879e5..c51f8fc661 100644 --- a/system/kvm-kmod/fixup_udev_rules.diff +++ b/system/kvm-kmod/fixup_udev_rules.diff @@ -1,7 +1,7 @@ -diff -Nur kvm-kmod-3.2.orig/scripts/65-kvm.rules kvm-kmod-3.2/scripts/65-kvm.rules ---- kvm-kmod-3.2.orig/scripts/65-kvm.rules 2012-01-08 07:02:08.000000000 -0600 -+++ kvm-kmod-3.2/scripts/65-kvm.rules 2012-02-12 11:59:06.317519510 -0600 -@@ -1,2 +1,2 @@ +--- kvm-kmod-3.3.6.orig/scripts/65-kvm.rules 2012-05-14 12:55:51.000000000 -0600 ++++ kvm-kmod-3.3.6/scripts/65-kvm.rules 2012-05-17 05:34:28.507551599 -0600 +@@ -1,2 +1,3 @@ -KERNEL=="kvm", MODE="0660", GROUP="kvm" -+KERNEL=="kvm", MODE="0660", GROUP="@KVMGROUP@" ++KERNEL=="kvm", GROUP="@KVMGROUP@", MODE="0660" ++KERNEL=="vhost-net", GROUP="@KVMGROUP@", MODE="0660" ACTION=="add|change", SUBSYSTEM=="dmi", KERNEL=="id", RUN+="/bin/sh -c 'grep -q vmx /proc/cpuinfo && /sbin/modprobe kvm-intel; grep -q svm /proc/cpuinfo && /sbin/modprobe kvm-amd'" |