diff options
author | Alex Auvolat <alex@adnab.me> | 2015-03-13 11:24:12 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2015-03-13 11:24:12 +0100 |
commit | 8e430501df88a34a99454d7c8ab0d13a26570ce0 (patch) | |
tree | 52788281f0fc5361f311640e8535758d9815383b /src | |
parent | 55e9614a6358fb3270405332e94c2eeda057350b (diff) | |
download | kogata-8e430501df88a34a99454d7c8ab0d13a26570ce0.tar.gz kogata-8e430501df88a34a99454d7c8ab0d13a26570ce0.zip |
Give more RAM to VMs.
Diffstat (limited to 'src')
-rwxr-xr-x | src/tests/ktests/run_qemu_test.sh | 2 | ||||
-rwxr-xr-x | src/tests/utests/run_qemu_test.sh | 2 |
2 files changed, 2 insertions, 2 deletions
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`) \ |