summaryrefslogtreecommitdiffstats
path: root/core/modules/qemu/data/opt
diff options
context:
space:
mode:
authorSimon Rettberg2026-01-27 12:04:41 +0100
committerSimon Rettberg2026-01-27 12:04:41 +0100
commitae83b6adbc24f9f7ad679d8e12249f8d5e7ee72f (patch)
treec3402d73adc8ae4a5ee65d04edc0bbd14df27700 /core/modules/qemu/data/opt
parent[dnbd3-proxy-mode] Reliably detect number of physical interfaces (diff)
downloadmltk-master.tar.gz
mltk-master.tar.xz
mltk-master.zip
[qemu] Set cache mode=unsafe in non-persistent modeHEADmaster
Should lead to better performance
Diffstat (limited to 'core/modules/qemu/data/opt')
-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" )