From: Thierry Parmentelat Date: Tue, 11 Jan 2011 16:46:34 +0000 (+0100) Subject: oops, was testing on "has_kvm" instead of "$has_kvm" X-Git-Tag: tests-5.0-22~8 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=1d977b23dd8ea4cff3ea0818725a11a200b646b2;p=tests.git oops, was testing on "has_kvm" instead of "$has_kvm" --- diff --git a/system/template-qemu/qemu-start-node b/system/template-qemu/qemu-start-node index 46279f8..afbb590 100755 --- a/system/template-qemu/qemu-start-node +++ b/system/template-qemu/qemu-start-node @@ -48,8 +48,9 @@ function is_64bits () { # make sure to check qemu-kill-node for consistency # use kvm if available, but unless we find /root/no-kvm as this is broken on some h/w +has_kvm="" [ -f /root/no-kvm ] || has_kvm=$(type -p qemu-kvm) -if [ -n "has_kvm" ] ; then +if [ -n "$has_kvm" ] ; then QEMU="qemu-kvm" ; ARGS="" else case $TARGET_ARCH in