direct-io.hg

view tools/examples/xen-backend.rules @ 11247:45ce6a654a41

The various tools expect the device node to be /dev/xen/evtchn -- this
makes it so that udev actually creates the device there

Signed-off-by: Jeremy Katz <katzj@redhat.com>
author Ewan Mellor <ewan@xensource.com>
date Wed Aug 23 22:16:02 2006 +0100 (2006-08-23)
parents 2937703f0ed0
children d90be316e5f5
line source
1 SUBSYSTEM=="xen-backend", KERNEL=="tap*", RUN+="/etc/xen/scripts/blktap $env{ACTION}"
2 SUBSYSTEM=="xen-backend", KERNEL=="vbd*", RUN+="/etc/xen/scripts/block $env{ACTION}"
3 SUBSYSTEM=="xen-backend", KERNEL=="vtpm*", RUN+="/etc/xen/scripts/vtpm $env{ACTION}"
4 SUBSYSTEM=="xen-backend", KERNEL=="vif*", ACTION=="online", RUN+="$env{script} online"
5 SUBSYSTEM=="xen-backend", KERNEL=="vif*", ACTION=="offline", RUN+="$env{script} offline"
6 SUBSYSTEM=="xen-backend", ACTION=="remove", RUN+="/etc/xen/scripts/xen-hotplug-cleanup"
7 KERNEL=="evtchn", NAME="xen/%k"