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