exit 1
fi
+ if ! kvmx_running || kvmx_suspended; then
+ echo "$BASENAME: $VM not running"
+ exit 1
+ fi
+
local action="$1"
shift
fi
}
+# X2Go integration
+#function kvmx_x2go {
+# if ! which x2goclient &> /dev/null; then
+# echo "$BASENAME: please install x2goclient package"
+# exit 1
+# fi
+#
+# if ! kvmx_running || kvmx_suspended; then
+# echo "$BASENAME: $VM not running"
+# exit 1
+# fi
+#
+# SSH="`cat $SSHFILE`"
+#
+# x2goclient --ssh-port=$SSH --ssh-key=$SSHKEY --session=$VM
+#}
+
# Alias for up command
function kvmx_start {
kvmx_up $*