oops, was testing on "has_kvm" instead of "$has_kvm"
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 11 Jan 2011 16:46:34 +0000 (17:46 +0100)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 11 Jan 2011 16:46:34 +0000 (17:46 +0100)
system/template-qemu/qemu-start-node

index 46279f8..afbb590 100755 (executable)
@@ -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