From: Antonio Gutierrez Date: Fri, 2 Dec 2016 19:17:54 +0000 (+0100) Subject: Add support for qemu-system-x86_64 in 64bit hosts X-Git-Url: https://git.devinivas.org/?a=commitdiff_plain;h=1772853d392d3022b41f3893e41c5a5b65322fac;p=cs3210-lab0.git Add support for qemu-system-x86_64 in 64bit hosts As x86-64 is a superset of x86, we can use qemu-system-x86_64 to run the OS image. Signed-off-by: Antonio Gutierrez --- diff --git a/Makefile b/Makefile index 93d525a..dd2afb8 100644 --- a/Makefile +++ b/Makefile @@ -60,6 +60,8 @@ QEMU = $(shell if which qemu > /dev/null; \ then echo qemu; exit; \ elif which qemu-system-i386 > /dev/null; \ then echo qemu-system-i386; exit; \ + elif which qemu-system-x86_64 > /dev/null; \ + then echo qemu-system-x86_64; exit; \ else \ qemu=/Applications/Q.app/Contents/MacOS/i386-softmmu.app/Contents/MacOS/i386-softmmu; \ if test -x $$qemu; then echo $$qemu; exit; fi; fi; \