summaryrefslogtreecommitdiffstats
path: root/core/modules/qemu/data
diff options
context:
space:
mode:
authorSimon Rettberg2024-05-15 17:17:39 +0200
committerSimon Rettberg2024-05-15 17:17:39 +0200
commit81288085dbb5d87ef9e92ce3a5d7b982af450590 (patch)
tree0604f2ff70767808fffca55240613a4c4f7f1023 /core/modules/qemu/data
parent[vbox-src] Run windowed in CoW admin/edit mode (diff)
downloadmltk-81288085dbb5d87ef9e92ce3a5d7b982af450590.tar.gz
mltk-81288085dbb5d87ef9e92ce3a5d7b982af450590.tar.xz
mltk-81288085dbb5d87ef9e92ce3a5d7b982af450590.zip
[qemu] Use virt-manager if CoW admin/edit mode is active
Diffstat (limited to 'core/modules/qemu/data')
-rw-r--r--core/modules/qemu/data/opt/openslx/vmchooser/plugins/qemukvm/run-virt.include3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/modules/qemu/data/opt/openslx/vmchooser/plugins/qemukvm/run-virt.include b/core/modules/qemu/data/opt/openslx/vmchooser/plugins/qemukvm/run-virt.include
index 391ba5a5..2cd2c60e 100644
--- a/core/modules/qemu/data/opt/openslx/vmchooser/plugins/qemukvm/run-virt.include
+++ b/core/modules/qemu/data/opt/openslx/vmchooser/plugins/qemukvm/run-virt.include
@@ -116,6 +116,9 @@ run_plugin() {
if $DEBUG; then
VIRTCMDOPTS+=( "-xmledit" )
fi
+ if notempty DMSD_COW_SESSION; then
+ VIRTCMDOPTS+=( "-manager" )
+ fi
if [ "${SHARE_REMAP_MODE}" -gt 1 ]; then
notempty HOME_SHARE_PATH && VIRTCMDOPTS+=( "-vmfssrc0" "${HOME_SHARE_PATH}" )