openssl: Rootfile update
[people/pmueller/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 else
8 QEMU_SYSTEM=qemu-system-i386
9 fi
10
11 if [[ $* == *" -no-kvm"* ]]; then
12         $QEMU_SYSTEM $*
13 else
14         $QEMU_SYSTEM -enable-kvm $*
15 fi
16 exit ${?}