]> Devi Nivas Git - cs3210-lab1.git/commitdiff
Again, QEMU command line to avoid image warning.
authorPeter H. Froehlich <peter.hans.froehlich@gmail.com>
Sat, 3 Oct 2015 05:55:43 +0000 (01:55 -0400)
committerFrans Kaashoek <kaashoek@mit.edu>
Thu, 18 Aug 2016 15:20:43 +0000 (11:20 -0400)
Makefile

index 40885e47ceab12c84f85e0880723211f3b817ef1..6737a4fe417cbdd6fee34dde8fc2f128ba88d3ff 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) -m 256
+       $(QEMU) -drive file=xv6memfs.img,index=0,media=disk,format=raw -smp $(CPUS) -m 256
 
 qemu-nox: fs.img xv6.img
        $(QEMU) -nographic $(QEMUOPTS)