]> hydra-www.ietfng.org Git - xv6-public/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)
committerPeter H. Froehlich <peter.hans.froehlich@gmail.com>
Sat, 3 Oct 2015 05:55:43 +0000 (01:55 -0400)
Makefile

index 05e550f71d7420b22753126a638c5e48295ab340..0a1e31aaa0e19f7eee2fc5660be409e791ad4c19 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)