summaryrefslogtreecommitdiffstats
path: root/core/modules/run-virt/data/opt/openslx/vmchooser
diff options
context:
space:
mode:
authorSimon Rettberg2022-09-08 12:22:53 +0200
committerSimon Rettberg2022-09-08 12:22:53 +0200
commitae8f86b8d6e3f9f3a0a1f588f0d91caac61c5559 (patch)
tree678191b67c85f0a7bf562627ade17c80e179336d /core/modules/run-virt/data/opt/openslx/vmchooser
parent[kernel-vanilla] Add patch for DP++ adapter detection (diff)
downloadmltk-ae8f86b8d6e3f9f3a0a1f588f0d91caac61c5559.tar.gz
mltk-ae8f86b8d6e3f9f3a0a1f588f0d91caac61c5559.tar.xz
mltk-ae8f86b8d6e3f9f3a0a1f588f0d91caac61c5559.zip
[run-virt] Slghtly increase reserved memory again
Diffstat (limited to 'core/modules/run-virt/data/opt/openslx/vmchooser')
-rw-r--r--core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/set_runvirt_hardware_variables.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/set_runvirt_hardware_variables.inc b/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/set_runvirt_hardware_variables.inc
index f75eeb4f..5ff2812b 100644
--- a/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/set_runvirt_hardware_variables.inc
+++ b/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/set_runvirt_hardware_variables.inc
@@ -34,7 +34,7 @@ set_virt_memory() {
# Calculare amount of memory for the VM. Be generous if diff is written to HDD.
# First, determine how much should be left to the host system. Minimum is 1GB.
local min=1000
- local base=750
+ local base=777
local reserve max disk_swap
if $TMPDIR_IN_RAM; then
# tmp in RAM, so reserve a lot for the system since that is where the HDD diff goes.
@@ -48,7 +48,7 @@ set_virt_memory() {
reserve=20
else
max=2000
- reserve=8
+ reserve=9
fi
fi
# Non-zram swap (KB)