#
# QEMU wrapper to enable kvm as default like old qemu-kvm...
#
+if [ $(uname -m) = "x86_64" ]; then
+QEMU_SYSTEM=qemu-system-x86_64
+else
+QEMU_SYSTEM=qemu-system-i386
+fi
+
if [[ $* == *" -no-kvm"* ]]; then
- qemu-system-i386 $*
+ $QEMU_SYSTEM $*
else
- qemu-system-i386 -enable-kvm $*
+ $QEMU_SYSTEM -enable-kvm $*
fi
exit ${?}
#etc/qemu
etc/qemu/target-x86_64.conf
usr/bin/qemu
+usr/bin/qemu-arm
usr/bin/qemu-ga
usr/bin/qemu-i386
usr/bin/qemu-img
usr/bin/qemu-nbd
usr/bin/qemu-system-arm
usr/bin/qemu-system-i386
+usr/bin/qemu-system-x86_64
+usr/bin/qemu-x86_64
usr/libexec/qemu-bridge-helper
#usr/share/doc/qemu
#usr/share/doc/qemu/qemu-doc.html
###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2009 Michael Tremer & Christian Schmidt #
+# Copyright (C) 2007-2015 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
-SUP_ARCH = i586
+SUP_ARCH = i586 x86_64
PROG = qemu
-PAK_VER = 15
+PAK_VER = 16
DEPS = "sdl"
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && ./configure --prefix=/usr --sysconfdir=/etc \
--enable-kvm --disable-attr \
- --target-list="i386-linux-user i386-softmmu arm-softmmu" \
+ --target-list="i386-linux-user x86_64-linux-user arm-linux-user i386-softmmu x86_64-softmmu arm-softmmu" \
--extra-cflags="$(CFLAGS)"
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install