openssl: Rootfile update
[people/pmueller/ipfire-2.x.git] / config / qemu / qemu
... / ...
CommitLineData
1#!/bin/bash
2#
3# QEMU wrapper to enable kvm as default like old qemu-kvm...
4#
5if [ $(uname -m) = "x86_64" ]; then
6QEMU_SYSTEM=qemu-system-x86_64
7else
8QEMU_SYSTEM=qemu-system-i386
9fi
10
11if [[ $* == *" -no-kvm"* ]]; then
12 $QEMU_SYSTEM $*
13else
14 $QEMU_SYSTEM -enable-kvm $*
15fi
16exit ${?}