From: Anthony PERARD Date: Mon, 30 Oct 2023 17:09:48 +0000 (+0000) Subject: ts-debian-hvm-install: Increase min guest ram size X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=4369d3fa8e3aded79b980af5a56cb7cb3ed4a870;p=osstest.git ts-debian-hvm-install: Increase min guest ram size 768 MB for the guest isn't enough anymore for Debian Bookworm, at boot it print this message: Low memory ---------- Entering low memory mode This system has relatively little free memory, so it will enter low memory mode. Among other things, this means that this program will proceed in English. You should set up swap space as soon as possible. [Press enter to continue] So, automatic installation fails. An empiric test shows that the min was 817M for one particular situation (test-amd64-amd64-xl-qemuu-ovmf-amd64) but we probably need some leg room, so increase to 1 GB. Signed-off-by: Anthony PERARD Acked-by: Roger Pau Monné --- diff --git a/ts-debian-hvm-install b/ts-debian-hvm-install index 44eb3ab..60c95b3 100755 --- a/ts-debian-hvm-install +++ b/ts-debian-hvm-install @@ -241,7 +241,7 @@ sub prep () { if ($host_freemem_mb > $ram_lots * 2 + $ram_minslop) { $ram_mb = $ram_lots; } else { - $ram_mb = 768; + $ram_mb = 1024; } } logm("Host has $host_freemem_mb MB free memory, setting guest memory size to $ram_mb MB");