From 434672139833b09f21427ad8855860b5368bece9 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 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) -- 2.50.1