xen/udev-rules.patch

10 lines
548 B
Diff

Index: xen-3.4.1-testing/tools/hotplug/Linux/xen-backend.rules
===================================================================
--- xen-3.4.1-testing.orig/tools/hotplug/Linux/xen-backend.rules
+++ xen-3.4.1-testing/tools/hotplug/Linux/xen-backend.rules
@@ -7,3 +7,4 @@ SUBSYSTEM=="xen-backend", KERNEL=="vscsi
SUBSYSTEM=="xen-backend", ACTION=="remove", RUN+="/etc/xen/scripts/xen-hotplug-cleanup"
KERNEL=="evtchn", NAME="xen/%k"
KERNEL=="blktap[0-9]*", NAME="xen/%k"
+KERNELS=="xen", KERNEL=="xvd*", SUBSYSTEM=="block", OPTIONS+="last_rule"