2011-09-15 23:43:21 +02:00
|
|
|
Index: xen-4.1.2-testing/tools/hotplug/Linux/xen-backend.rules
|
2008-11-21 15:57:01 +01:00
|
|
|
===================================================================
|
2011-09-15 23:43:21 +02:00
|
|
|
--- xen-4.1.2-testing.orig/tools/hotplug/Linux/xen-backend.rules
|
|
|
|
+++ xen-4.1.2-testing/tools/hotplug/Linux/xen-backend.rules
|
2011-10-18 16:16:28 +02:00
|
|
|
@@ -13,4 +13,5 @@ KERNEL=="blktap-control", NAME="xen/blkt
|
|
|
|
KERNEL=="gntdev", NAME="xen/%k", MODE="0600"
|
2011-03-21 17:47:37 +01:00
|
|
|
KERNEL=="pci_iomul", NAME="xen/%k", MODE="0600"
|
|
|
|
KERNEL=="tapdev[a-z]*", NAME="xen/blktap-2/tapdev%m", MODE="0600"
|
2011-10-18 16:16:28 +02:00
|
|
|
-SUBSYSTEM=="net", KERNEL=="tap*", ACTION=="add", RUN+="/etc/xen/scripts/vif-setup $env{ACTION} type_if=tap"
|
2011-10-28 17:40:38 +02:00
|
|
|
+SUBSYSTEM=="net", KERNEL=="tap*", ACTION=="add", TEST=="/proc/xen", RUN+="/etc/xen/scripts/vif-setup $env{ACTION} type_if=tap"
|
2008-11-21 15:57:01 +01:00
|
|
|
+KERNELS=="xen", KERNEL=="xvd*", SUBSYSTEM=="block", OPTIONS+="last_rule"
|