]> Devi Nivas Git - cs3210-lab1.git/commitdiff
Fixed QEMU command line avoids raw image warning.
authorPeter H. Froehlich <peter.hans.froehlich@gmail.com>
Sat, 26 Sep 2015 21:38:04 +0000 (17:38 -0400)
committerFrans Kaashoek <kaashoek@mit.edu>
Thu, 18 Aug 2016 18:30:30 +0000 (14:30 -0400)
Makefile

index 6737a4fe417cbdd6fee34dde8fc2f128ba88d3ff..a635b649c18e945f76835626da1d013b24eb73c5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -210,7 +210,7 @@ QEMUGDB = $(shell if $(QEMU) -help | grep -q '^-gdb'; \
 ifndef CPUS
 CPUS := 2
 endif
-QEMUOPTS = -hdb fs.img xv6.img -smp $(CPUS) -m 512 $(QEMUEXTRA)
+QEMUOPTS = -drive file=fs.img,index=1,media=disk,format=raw -drive file=xv6.img,index=0,media=disk,format=raw -smp $(CPUS) -m 512 $(QEMUEXTRA)
 
 qemu: fs.img xv6.img
        $(QEMU) -serial mon:stdio $(QEMUOPTS)