2011-02-04 22:19:54 +01:00
|
|
|
Index: xen-4.0.2-testing/tools/hotplug/Linux/xen-backend.rules
|
2008-11-21 15:57:01 +01:00
|
|
|
===================================================================
|
2011-02-04 22:19:54 +01:00
|
|
|
--- xen-4.0.2-testing.orig/tools/hotplug/Linux/xen-backend.rules
|
|
|
|
+++ xen-4.0.2-testing/tools/hotplug/Linux/xen-backend.rules
|
2010-09-28 00:07:21 +02:00
|
|
|
@@ -7,5 +7,10 @@ SUBSYSTEM=="xen-backend", KERNEL=="vif-*
|
|
|
|
SUBSYSTEM=="xen-backend", KERNEL=="vscsi*", RUN+="/etc/xen/scripts/vscsi $env{ACTION}"
|
|
|
|
SUBSYSTEM=="xen-backend", ACTION=="remove", RUN+="/etc/xen/scripts/xen-hotplug-cleanup"
|
2008-11-21 15:57:01 +01:00
|
|
|
KERNEL=="evtchn", NAME="xen/%k"
|
2010-09-28 00:07:21 +02:00
|
|
|
-KERNEL=="blktap[0-9]*", NAME="xen/%k"
|
|
|
|
-KERNEL=="pci_iomul", NAME="xen/%k"
|
|
|
|
+SUBSYSTEM=="xen", KERNEL=="blktap[0-9]*", NAME="xen/%k", MODE="0600"
|
|
|
|
+SUBSYSTEM=="blktap2", KERNEL=="blktap[0-9]*", NAME="xen/blktap-2/%k", MODE="0600"
|
|
|
|
+KERNEL=="blktap-control", NAME="xen/blktap-2/control", MODE="0600"
|
|
|
|
+KERNEL=="gntdev", NAME="xen/%k", MODE="0600"
|
|
|
|
+KERNEL=="pci_iomul", NAME="xen/%k", MODE="0600"
|
|
|
|
+KERNEL=="tapdev[a-z]*", NAME="xen/blktap-2/tapdev%m", MODE="0600"
|
2008-11-21 15:57:01 +01:00
|
|
|
+KERNELS=="xen", KERNEL=="xvd*", SUBSYSTEM=="block", OPTIONS+="last_rule"
|