]> scripts.mit.edu Git - xen.git/blob - scripts/vtpm
Allow memory to balloon to 8GiB
[xen.git] / scripts / vtpm
1 #!/bin/bash
2
3 dir=$(dirname "$0")
4 . "$dir/vtpm-hotplug-common.sh"
5
6 vtpm_fatal_error=0
7
8 case "$command" in
9   add)
10     vtpm_create_instance
11   ;;
12   remove)
13     vtpm_remove_instance
14   ;;
15 esac
16
17 if [ $vtpm_fatal_error -eq 0 ]; then
18         log debug "Successful vTPM operation '$command'."
19         success
20 else
21         fatal "Error while executing vTPM operation '$command'."
22 fi