ia64/xen-unstable

view tools/examples/xen-backend.agent @ 8964:8946b6dcd49e

Fix x86_64 Xen build.

event_callback_cs and failsafe_callback_cs are x86_32 only.

Signed-off-by: Ian Campbell <Ian.Campbell@XenSource.com>
author Ian.Campbell@xensource.com
date Wed Feb 22 17:26:39 2006 +0000 (2006-02-22)
parents cb215a84d1af
children bf1dc22ca24c
line source
1 #! /bin/sh
3 PATH=/etc/xen/scripts:$PATH
5 case "$XENBUS_TYPE" in
6 vbd)
7 /etc/xen/scripts/block "$ACTION"
8 ;;
9 vtpm)
10 /etc/xen/scripts/vtpm "$ACTION"
11 ;;
12 vif)
13 [ -n "$script" ] && $script "$ACTION"
14 ;;
15 esac
17 case "$ACTION" in
18 add)
19 ;;
20 remove)
21 # remove device frontend store entries
22 xenstore-rm -t $(xenstore-read "$XENBUS_PATH/frontend") || true
24 # remove device backend store entries
25 xenstore-rm -t "$XENBUS_PATH" || true
26 xenstore-rm -t "error/$XENBUS_PATH" || true
27 ;;
28 online)
29 ;;
30 offline)
31 ;;
32 esac