[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Add udev rules to deliver hw events to xend



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1237286286 0
# Node ID 57327f3334b4fd38389ae4323ace60cf02b5b2bb
# Parent  95a7f97761ed317a3e26bf90a484c44fad32318c
Add udev rules to deliver hw events to xend

Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@xxxxxxxxxxxxx>
---
 Makefile                       |    2 ++
 tools/hotplug/Linux/Makefile   |    2 +-
 tools/hotplug/Linux/xend.rules |    3 +++
 3 files changed, 6 insertions(+), 1 deletion(-)

diff -r 95a7f97761ed -r 57327f3334b4 Makefile
--- a/Makefile  Tue Mar 17 10:37:12 2009 +0000
+++ b/Makefile  Tue Mar 17 10:38:06 2009 +0000
@@ -203,6 +203,8 @@ uninstall:
        rm -rf $(D)/etc/hotplug/xen-backend.agent
        rm -f  $(D)/etc/udev/rules.d/xen-backend.rules
        rm -f  $(D)/etc/udev/xen-backend.rules
+       rm -f  $(D)/etc/udev/rules.d/xend.rules
+       rm -f  $(D)/etc/udev/xend.rules
        rm -f  $(D)/etc/sysconfig/xendomains
        rm -rf $(D)/var/run/xen* $(D)/var/lib/xen*
        rm -rf $(D)/boot/*xen*
diff -r 95a7f97761ed -r 57327f3334b4 tools/hotplug/Linux/Makefile
--- a/tools/hotplug/Linux/Makefile      Tue Mar 17 10:37:12 2009 +0000
+++ b/tools/hotplug/Linux/Makefile      Tue Mar 17 10:38:06 2009 +0000
@@ -29,7 +29,7 @@ XEN_HOTPLUG_SCRIPTS = xen-backend.agent
 XEN_HOTPLUG_SCRIPTS = xen-backend.agent
 
 UDEV_RULES_DIR = /etc/udev
-UDEV_RULES = xen-backend.rules
+UDEV_RULES = xen-backend.rules xend.rules
 
 DI = $(if $(DISTDIR),$(shell readlink -f $(DISTDIR)),)
 DE = $(if $(DESTDIR),$(shell readlink -f $(DESTDIR)),)
diff -r 95a7f97761ed -r 57327f3334b4 tools/hotplug/Linux/xend.rules
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/hotplug/Linux/xend.rules    Tue Mar 17 10:38:06 2009 +0000
@@ -0,0 +1,3 @@
+SUBSYSTEM=="pci", RUN+="socket:/org/xen/xend/udev_event"
+#SUBSYSTEM=="scsi", RUN+="socket:/org/xen/xend/udev_event"
+#SUBSYSTEM=="net", KERNEL!="vif[0-9]*.[0-9]*|tap[0-9]*.[0-9]*", 
RUN+="socket:/org/xen/xend/udev_event"

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.