ia64/xen-unstable

view tools/examples/xen-backend.agent @ 11100:905ff6e616cc

[HVM] Add stubs to Linux for the new hvm_op hypercall.
Signed-off-by: Steven Smith <ssmith@xensource.com>
author kfraser@localhost.localdomain
date Mon Aug 14 11:33:50 2006 +0100 (2006-08-14)
parents 2937703f0ed0
children b071319927b6
line source
1 #! /bin/sh
3 PATH=/etc/xen/scripts:$PATH
5 . /etc/xen/scripts/locking.sh
7 claim_lock xenbus_hotplug_global
9 case "$XENBUS_TYPE" in
10 tap)
11 /etc/xen/scripts/blktap "$ACTION"
12 ;;
13 vbd)
14 /etc/xen/scripts/block "$ACTION"
15 ;;
16 vtpm)
17 /etc/xen/scripts/vtpm "$ACTION"
18 ;;
19 vif)
20 [ -n "$script" ] && $script "$ACTION"
21 ;;
22 esac
24 case "$ACTION" in
25 add)
26 ;;
27 remove)
28 /etc/xen/scripts/xen-hotplug-cleanup
29 ;;
30 online)
31 ;;
32 offline)
33 ;;
34 esac
36 release_lock xenbus_hotplug_global