From 5faed8ba6489c60e2df4971af0bd28a6af55b00a Mon Sep 17 00:00:00 2001 From: "Peter H. Froehlich" Date: Sat, 26 Sep 2015 17:38:04 -0400 Subject: [PATCH] Fixed QEMU command line avoids raw image warning. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)