WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Add udev rules to deliver hw events to xend
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 17 Mar 2009 08:35:15 -0700
Delivery-date: Tue, 17 Mar 2009 08:35:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Add udev rules to deliver hw events to xend, Xen patchbot-unstable <=