xen/udev-rules.patch

10 lines
495 B
Diff

Index: xen-4.0.0-testing/tools/hotplug/Linux/xen-backend.rules
===================================================================
--- xen-4.0.0-testing.orig/tools/hotplug/Linux/xen-backend.rules
+++ xen-4.0.0-testing/tools/hotplug/Linux/xen-backend.rules
@@ -9,3 +9,4 @@ SUBSYSTEM=="xen-backend", ACTION=="remov
KERNEL=="evtchn", NAME="xen/%k"
KERNEL=="blktap[0-9]*", NAME="xen/%k"
KERNEL=="pci_iomul", NAME="xen/%k"
+KERNELS=="xen", KERNEL=="xvd*", SUBSYSTEM=="block", OPTIONS+="last_rule"