mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
device creation (create/resume). Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
24 lines
298 B
Bash
24 lines
298 B
Bash
#!/bin/sh
|
|
|
|
dir=$(dirname "$0")
|
|
. "$dir/vtpm-common.sh"
|
|
|
|
|
|
case "$command" in
|
|
add)
|
|
vtpm_create_instance
|
|
;;
|
|
online)
|
|
vtpm_create_instance
|
|
;;
|
|
remove)
|
|
vtpm_remove_instance
|
|
;;
|
|
offline)
|
|
vtpm_remove_instance
|
|
;;
|
|
esac
|
|
|
|
log debug "Successful vTPM operation '$command'."
|
|
success
|