Skip to content

Commit

Permalink
Fixed QEMU command line avoids raw image warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
phf authored and kaashoek committed Aug 18, 2016
1 parent 0f3d9d9 commit 5faed8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5faed8b

Please sign in to comment.