163148b426
OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=87c8ac43897718b61dbcbca0296d6c2a
18 lines
1.0 KiB
Diff
18 lines
1.0 KiB
Diff
Index: xen-4.0.1-testing/tools/hotplug/Linux/xen-backend.rules
|
|
===================================================================
|
|
--- xen-4.0.1-testing.orig/tools/hotplug/Linux/xen-backend.rules
|
|
+++ xen-4.0.1-testing/tools/hotplug/Linux/xen-backend.rules
|
|
@@ -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"
|
|
KERNEL=="evtchn", NAME="xen/%k"
|
|
-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"
|
|
+KERNELS=="xen", KERNEL=="xvd*", SUBSYSTEM=="block", OPTIONS+="last_rule"
|