ia64/xen-unstable

changeset 19364:57327f3334b4

Add udev rules to deliver hw events to xend

Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Mar 17 10:38:06 2009 +0000 (2009-03-17)
parents 95a7f97761ed
children f81467ad1356
files Makefile tools/hotplug/Linux/Makefile tools/hotplug/Linux/xend.rules
line diff
     1.1 --- a/Makefile	Tue Mar 17 10:37:12 2009 +0000
     1.2 +++ b/Makefile	Tue Mar 17 10:38:06 2009 +0000
     1.3 @@ -203,6 +203,8 @@ uninstall:
     1.4  	rm -rf $(D)/etc/hotplug/xen-backend.agent
     1.5  	rm -f  $(D)/etc/udev/rules.d/xen-backend.rules
     1.6  	rm -f  $(D)/etc/udev/xen-backend.rules
     1.7 +	rm -f  $(D)/etc/udev/rules.d/xend.rules
     1.8 +	rm -f  $(D)/etc/udev/xend.rules
     1.9  	rm -f  $(D)/etc/sysconfig/xendomains
    1.10  	rm -rf $(D)/var/run/xen* $(D)/var/lib/xen*
    1.11  	rm -rf $(D)/boot/*xen*
     2.1 --- a/tools/hotplug/Linux/Makefile	Tue Mar 17 10:37:12 2009 +0000
     2.2 +++ b/tools/hotplug/Linux/Makefile	Tue Mar 17 10:38:06 2009 +0000
     2.3 @@ -29,7 +29,7 @@ XEN_HOTPLUG_DIR = /etc/hotplug
     2.4  XEN_HOTPLUG_SCRIPTS = xen-backend.agent
     2.5  
     2.6  UDEV_RULES_DIR = /etc/udev
     2.7 -UDEV_RULES = xen-backend.rules
     2.8 +UDEV_RULES = xen-backend.rules xend.rules
     2.9  
    2.10  DI = $(if $(DISTDIR),$(shell readlink -f $(DISTDIR)),)
    2.11  DE = $(if $(DESTDIR),$(shell readlink -f $(DESTDIR)),)
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/tools/hotplug/Linux/xend.rules	Tue Mar 17 10:38:06 2009 +0000
     3.3 @@ -0,0 +1,3 @@
     3.4 +SUBSYSTEM=="pci", RUN+="socket:/org/xen/xend/udev_event"
     3.5 +#SUBSYSTEM=="scsi", RUN+="socket:/org/xen/xend/udev_event"
     3.6 +#SUBSYSTEM=="net", KERNEL!="vif[0-9]*.[0-9]*|tap[0-9]*.[0-9]*", RUN+="socket:/org/xen/xend/udev_event"