From 8e430501df88a34a99454d7c8ab0d13a26570ce0 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Fri, 13 Mar 2015 11:24:12 +0100 Subject: Give more RAM to VMs. --- Makefile | 4 ++-- src/tests/ktests/run_qemu_test.sh | 2 +- src/tests/utests/run_qemu_test.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 2863d35..6e472d0 100644 --- a/Makefile +++ b/Makefile @@ -30,10 +30,10 @@ cdrom.iso: all ./make_cdrom.sh run_qemu: cdrom.iso - qemu-system-i386 -cdrom cdrom.iso -serial stdio -m 16 + qemu-system-i386 -cdrom cdrom.iso -serial stdio -m 64 run_qemu_debug: cdrom.iso - qemu-system-i386 -cdrom cdrom.iso -serial stdio -s -S & \ + qemu-system-i386 -cdrom cdrom.iso -serial stdio -m 64 -s -S & \ (sleep 0.1; gdb src/kernel/kernel.bin -x gdb_cmd) run_bochs_debug: cdrom.iso diff --git a/src/tests/ktests/run_qemu_test.sh b/src/tests/ktests/run_qemu_test.sh index 0e7b83e..3f5c934 100755 --- a/src/tests/ktests/run_qemu_test.sh +++ b/src/tests/ktests/run_qemu_test.sh @@ -1,6 +1,6 @@ #!/bin/bash -(qemu-system-i386 -kernel test_kernel.bin -initrd ../../kernel/kernel.map -serial stdio -m 16 -display none & echo $! >pid) \ +(qemu-system-i386 -kernel test_kernel.bin -initrd ../../kernel/kernel.map -serial stdio -m 64 -display none & echo $! >pid) \ | tee >(grep -m 1 "TEST-" >result; kill -INT `cat pid`) \ RESULT=`cat result` diff --git a/src/tests/utests/run_qemu_test.sh b/src/tests/utests/run_qemu_test.sh index c168e8c..a1f804d 100755 --- a/src/tests/utests/run_qemu_test.sh +++ b/src/tests/utests/run_qemu_test.sh @@ -9,7 +9,7 @@ if [ "$1" = "watchdog" ]; then exit 0 fi -(qemu-system-i386 -kernel ../../../kernel/kernel.bin -append 'init=io:/mod/init.bin' -initrd 'init.bin,../../../kernel/kernel.map' -serial stdio -m 16 -display none & echo $! >pid & +(qemu-system-i386 -kernel ../../../kernel/kernel.bin -append 'init=io:/mod/init.bin' -initrd 'init.bin,../../../kernel/kernel.map' -serial stdio -m 64 -display none & echo $! >pid & $0 watchdog) \ | tee >(grep -m 1 "TEST-" >result; kill -INT `cat pid`; kill -TERM `cat pid2`) \ -- cgit v1.2.3