ia64/xen-unstable

changeset 7399:4c9dbbb5fe3d

Use new -t flag on xenstore-rm to keep the store pruned when devices go away.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@leeni.uk.xensource.com
date Sat Oct 15 12:56:07 2005 +0100 (2005-10-15)
parents a0ec7370eec0
children 938f209d886b
files tools/examples/xen-backend.agent tools/examples/xen-backend.rules
line diff
     1.1 --- a/tools/examples/xen-backend.agent	Sat Oct 15 12:55:03 2005 +0100
     1.2 +++ b/tools/examples/xen-backend.agent	Sat Oct 15 12:56:07 2005 +0100
     1.3 @@ -22,7 +22,7 @@ case "$ACTION" in
     1.4          ;;
     1.5      esac
     1.6      # remove device backend store entries
     1.7 -    xenstore-rm "$XENBUS_PATH"
     1.8 +    xenstore-rm -t "$XENBUS_PATH"
     1.9      ;;
    1.10    online)
    1.11      case "$PHYSDEVDRIVER" in
     2.1 --- a/tools/examples/xen-backend.rules	Sat Oct 15 12:55:03 2005 +0100
     2.2 +++ b/tools/examples/xen-backend.rules	Sat Oct 15 12:56:07 2005 +0100
     2.3 @@ -1,4 +1,4 @@
     2.4  SUBSYSTEM=="xen-backend", KERNEL=="vbd*", ACTION=="add", RUN+="/etc/xen/scripts/block bind"
     2.5  SUBSYSTEM=="xen-backend", KERNEL=="vbd*", ACTION=="remove", RUN+="/etc/xen/scripts/block unbind"
     2.6  SUBSYSTEM=="xen-backend", KERNEL=="vif*", ENV{PHYSDEVDRIVER}=="vif", ACTION=="online", RUN+="$env{script} up"
     2.7 -SUBSYSTEM=="xen-backend", ACTION=="remove", RUN+="/usr/bin/xenstore-rm $env{XENBUS_PATH}"
     2.8 +SUBSYSTEM=="xen-backend", ACTION=="remove", RUN+="/usr/bin/xenstore-rm -t $env{XENBUS_PATH}"