From 4d3535ff7b2872094afe9fdaa1dd5e63947e92b2 Mon Sep 17 00:00:00 2001 From: Andrii Nakryiko Date: Fri, 18 Dec 2020 13:20:46 -0800 Subject: [PATCH] vmtests: test_maps needs more memory, so bump to 4G Memory is cheap. Signed-off-by: Andrii Nakryiko --- travis-ci/vmtest/run.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/travis-ci/vmtest/run.sh b/travis-ci/vmtest/run.sh index 323690a..5c5a803 100755 --- a/travis-ci/vmtest/run.sh +++ b/travis-ci/vmtest/run.sh @@ -434,8 +434,10 @@ sudo chmod 755 "$mnt/etc/rcS.d/S99-poweroff" sudo umount "$mnt" +echo "Starting VM with $(nproc) CPUs..." + qemu-system-x86_64 -nodefaults -display none -serial mon:stdio \ - -cpu kvm64 -enable-kvm -smp "$(nproc)" -m 2G \ + -cpu kvm64 -enable-kvm -smp "$(nproc)" -m 4G \ -drive file="$IMG",format=raw,index=1,media=disk,if=virtio,cache=none \ -kernel "$vmlinuz" -append "root=/dev/vda rw console=ttyS0,115200$APPEND"