git.annexia.org
/
qemu-sanity-check.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a2ef4e
)
qemu: Pass -machine accel=kvm:tcg option on qemu command line.
author
Richard W.M. Jones
<rjones@redhat.com>
Thu, 22 Aug 2013 14:41:54 +0000
(15:41 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Thu, 22 Aug 2013 14:59:57 +0000
(15:59 +0100)
This makes qemu try to use KVM, and fall back cleanly to TCG if
hardware accelerated virt is not available.
qemu-sanity-check.in
patch
|
blob
|
history
diff --git
a/qemu-sanity-check.in
b/qemu-sanity-check.in
index
4a13b07
..
24ce8ef
100644
(file)
--- 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"