]> Devi Nivas Git - cs3210-lab0.git/commitdiff
Increase VM memory when running qemu-memfs
authorAustin Clements <aclements@csail.mit.edu>
Fri, 3 Oct 2014 13:44:26 +0000 (09:44 -0400)
committerAustin Clements <aclements@csail.mit.edu>
Fri, 3 Oct 2014 13:44:26 +0000 (09:44 -0400)
Presumably because of the pre-loaded file system, the default RAM is
insufficient when running kernelmemfs

Makefile

index f1146d9b75747e20cf6438738212634aa705f837..01ca1ffe41d699ab38d36ecc5b64b9bc52c14891 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -216,7 +216,7 @@ qemu: fs.img xv6.img
        $(QEMU) -serial mon:stdio $(QEMUOPTS)
 
 qemu-memfs: xv6memfs.img
-       $(QEMU) xv6memfs.img -smp $(CPUS)
+       $(QEMU) xv6memfs.img -smp $(CPUS) -m 256
 
 qemu-nox: fs.img xv6.img
        $(QEMU) -nographic $(QEMUOPTS)