3
0
Fork 0
forked from mirrors/nixpkgs

nixosTests.installer: Increase memory allocated to the VM

Fixes #111223.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg 2021-01-31 12:43:37 -08:00
parent 5ff6700bb8
commit 4a0a7ccb2a

View file

@ -76,8 +76,8 @@ let
def assemble_qemu_flags():
flags = "-cpu max"
${if system == "x86_64-linux"
then ''flags += " -m 768"''
else ''flags += " -m 512 -enable-kvm -machine virt,gic-version=host"''
then ''flags += " -m 1024"''
else ''flags += " -m 768 -enable-kvm -machine virt,gic-version=host"''
}
return flags