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://git.devinivas.org/?a=commitdiff_plain;h=5faed8ba6489c60e2df4971af0bd28a6af55b00a;p=cs3210-lab1.git Fixed QEMU command line avoids raw image warning. --- diff --git a/Makefile b/Makefile index 6737a4f..a635b64 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)