From: Richard W.M. Jones Date: Thu, 22 Aug 2013 14:41:54 +0000 (+0100) Subject: qemu: Pass -machine accel=kvm:tcg option on qemu command line. X-Git-Tag: v1.1.4~3 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=280f8df59eba30ac4c0907efbdc86891139aab57;p=qemu-sanity-check.git qemu: Pass -machine accel=kvm:tcg option on qemu command line. This makes qemu try to use KVM, and fall back cleanly to TCG if hardware accelerated virt is not available. --- diff --git a/qemu-sanity-check.in b/qemu-sanity-check.in index 4a13b07..24ce8ef 100644 --- a/qemu-sanity-check.in +++ b/qemu-sanity-check.in @@ -136,6 +136,8 @@ argv[$((i++))]="$qemu" argv[$((i++))]="-nographic" argv[$((i++))]="-nodefconfig" argv[$((i++))]="-nodefaults" +argv[$((i++))]="-machine" +argv[$((i++))]="accel=kvm:tcg" argv[$((i++))]="-no-reboot" argv[$((i++))]="-serial" argv[$((i++))]="file:$test_output"