summary refs log tree commit diff
path: root/vm
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-12-05 21:45:27 +0100
committerAlyssa Ross <hi@alyssa.is>2023-12-05 21:45:27 +0100
commitd6373820f71f32f363d95ef6211d36a359c02e62 (patch)
tree47b33bc117584d028738ab02191cba9dff33a7a5 /vm
parent009a0369c69cec24e0ffc43e4ba3d71d290b2bef (diff)
downloadspectrum-d6373820f71f32f363d95ef6211d36a359c02e62.tar
spectrum-d6373820f71f32f363d95ef6211d36a359c02e62.tar.gz
spectrum-d6373820f71f32f363d95ef6211d36a359c02e62.tar.bz2
spectrum-d6373820f71f32f363d95ef6211d36a359c02e62.tar.lz
spectrum-d6373820f71f32f363d95ef6211d36a359c02e62.tar.xz
spectrum-d6373820f71f32f363d95ef6211d36a359c02e62.tar.zst
spectrum-d6373820f71f32f363d95ef6211d36a359c02e62.zip
Increase VM memory size
128M was not enough to even get to init on aarch64.  We can probably
optimise the kernel at some point, but I think that's something to do
once things are further along.

Signed-off-by: Alyssa Ross <hi@alyssa.is>
Diffstat (limited to 'vm')
-rw-r--r--vm/sys/net/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm/sys/net/Makefile b/vm/sys/net/Makefile
index 6e5c651..d794df0 100644
--- a/vm/sys/net/Makefile
+++ b/vm/sys/net/Makefile
@@ -99,7 +99,7 @@ debug:
 .PHONY: debug
 
 run-qemu: build/host/data/netvm/blk/root.img
-	@../../../scripts/run-qemu.sh -m 128 -cpu host -kernel $(KERNEL) -vga none \
+	@../../../scripts/run-qemu.sh -m 256 -cpu host -kernel $(KERNEL) -vga none \
 	    -drive file=build/host/data/netvm/blk/root.img,if=virtio,format=raw,readonly=on \
 	    -append "root=PARTLABEL=root nokaslr" \
 	    -gdb unix:build/gdb.sock,server,nowait \
@@ -117,7 +117,7 @@ run-cloud-hypervisor: build/host/data/netvm/blk/root.img
 	@../../../scripts/with-taps.elb \
 	    ../../../scripts/run-cloud-hypervisor.sh \
 	    --api-socket path=build/vmm.sock \
-	    --memory size=128M \
+	    --memory size=256M \
 	    --disk path=build/host/data/netvm/blk/root.img,readonly=on \
 	    --net tap=tap0 \
 	    --net tap=tap1,mac=0A:B3:EC:80:00:00 \