]> hydra-www.ietfng.org Git - xv6-public/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)
committerPeter H. Froehlich <peter.hans.froehlich@gmail.com>
Sat, 26 Sep 2015 21:38:04 +0000 (17:38 -0400)
Makefile

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