diff options
-rwxr-xr-x | kvmx | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -250,7 +250,13 @@ function kvmx_up { exit elif kvmx_running; then echo "$BASENAME: guest $VM is already running" - exit 1 + + if [ "$run_spice_client" == "1" ]; then + kvmx spice $VM + exit + else + exit 1 + fi fi if [ ! -z "$shared_folder" ]; then |