summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Bentele2021-07-05 12:34:06 +0200
committerManuel Bentele2021-07-05 12:34:06 +0200
commitc166b3ae4009c442c015da8b871550f15ebefff6 (patch)
tree4a88493b10701980213cfc2d52289de908e4afd3
parent[qemu] Enable output of finalized Libvirt config in debug mode (diff)
downloadmltk-c166b3ae4009c442c015da8b871550f15ebefff6.tar.gz
mltk-c166b3ae4009c442c015da8b871550f15ebefff6.tar.xz
mltk-c166b3ae4009c442c015da8b871550f15ebefff6.zip
[qemu] Terminate virt-viewer if VM is powered off
-rw-r--r--core/modules/qemu/runvirt-plugin-qemu/src/main/java/org/openslx/runvirt/viewer/ViewerVirtViewer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/qemu/runvirt-plugin-qemu/src/main/java/org/openslx/runvirt/viewer/ViewerVirtViewer.java b/core/modules/qemu/runvirt-plugin-qemu/src/main/java/org/openslx/runvirt/viewer/ViewerVirtViewer.java
index 8f6e9481..d696e109 100644
--- a/core/modules/qemu/runvirt-plugin-qemu/src/main/java/org/openslx/runvirt/viewer/ViewerVirtViewer.java
+++ b/core/modules/qemu/runvirt-plugin-qemu/src/main/java/org/openslx/runvirt/viewer/ViewerVirtViewer.java
@@ -90,8 +90,8 @@ public class ViewerVirtViewer extends Viewer
}
// execute viewer process with arguments:
- // "virt-viewer --full-screen --reconnect --wait --attach --connect=<URI> --domain-name -- <DOMAIN-UUID>"
- ViewerUtils.executeViewer( ViewerVirtViewer.NAME, new String[] { "--full-screen", "--reconnect", "--wait",
+ // "virt-viewer --full-screen --wait --attach --connect=<URI> --domain-name -- <DOMAIN-UUID>"
+ ViewerUtils.executeViewer( ViewerVirtViewer.NAME, new String[] { "--full-screen", "--wait",
"--attach", "--connect=" + connectionUri, "--uuid", "--", machineUuid } );
}
}