summaryrefslogtreecommitdiffstats
path: root/core/modules/qemu/data
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/qemu/data')
-rw-r--r--core/modules/qemu/data/opt/openslx/vmchooser/plugins/qemukvm/run-virt.include1
1 files changed, 1 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 ae14597c..6e16b498 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
@@ -119,6 +119,7 @@ run_plugin() {
notempty PARALLEL0 && [ -w "${PARALLEL0}" ] \
&& VIRTCMDOPTS+=( "-vmparallel0" "${PARALLEL0}" )
notempty pt_gpu_mdev_id && VIRTCMDOPTS+=( "-vmilmdevid0" "${pt_gpu_mdev_id}" )
+ notempty VM_DISKFILE_RW && VIRTCMDOPTS+=( "-persistent" )
if $DEBUG; then
VIRTCMDOPTS+=( "-xmledit" )