mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
7f684947ea
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
7 lines
498 B
Diff
7 lines
498 B
Diff
--- 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", 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'"
|