From: Peter H. Froehlich Date: Sat, 26 Sep 2015 21:38:04 +0000 (-0400) Subject: Fixed QEMU command line avoids raw image warning. X-Git-Url: https://hydra-www.ietfng.org/gitweb/?a=commitdiff_plain;h=434672139833b09f21427ad8855860b5368bece9;p=xv6-public Fixed QEMU command line avoids raw image warning. --- diff --git a/Makefile b/Makefile index b4fd9a2..05e550f 100644 --- 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)