]> git.ipfire.org Git - ipfire-2.x.git/blob - config/qemu/qemu
Drop support for i586
[ipfire-2.x.git] / config / qemu / qemu
1 #!/bin/bash
2 #
3 # QEMU wrapper to enable kvm as default like old qemu-kvm...
4 #
5 if [ $(uname -m) = "x86_64" ]; then
6 QEMU_SYSTEM=qemu-system-x86_64
7 fi
8
9 if [[ $* == *" -no-kvm"* ]]; then
10 $QEMU_SYSTEM $*
11 else
12 $QEMU_SYSTEM -enable-kvm $*
13 fi
14 exit ${?}