Files
xen/tools/examples/vtpm
T
kaf24@firebug.cl.cam.ac.uk b588d4451a Update vtpm driver following the recent changes to the
xenbus driver and its semantics.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2005-11-25 09:14:01 +01:00

24 lines
290 B
Bash

#!/bin/sh
dir=$(dirname "$0")
. "$dir/vtpm-common.sh"
case "$command" in
online | offline)
exit 0
;;
esac
case "$command" in
add)
vtpm_create_instance
;;
remove)
vtpm_remove_instance
;;
esac
log debug "Successful vTPM operation '$command'."
success