Skip to content

Commit 1772853

Browse files
chibby0nekaashoek
authored andcommitted
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 <[email protected]>
1 parent 906610e commit 1772853

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ QEMU = $(shell if which qemu > /dev/null; \
6060
then echo qemu; exit; \
6161
elif which qemu-system-i386 > /dev/null; \
6262
then echo qemu-system-i386; exit; \
63+
elif which qemu-system-x86_64 > /dev/null; \
64+
then echo qemu-system-x86_64; exit; \
6365
else \
6466
qemu=/Applications/Q.app/Contents/MacOS/i386-softmmu.app/Contents/MacOS/i386-softmmu; \
6567
if test -x $$qemu; then echo $$qemu; exit; fi; fi; \

0 commit comments

Comments
 (0)