moving to f14/kvm - on some h/w, create /root/no-kvm to run plain qemu instead
[tests.git] / system / template-qemu / qemu-start-node
index 55484f1..46279f8 100755 (executable)
@@ -46,7 +46,9 @@ function is_64bits () {
 
 # the launcher, depending on target arch
 # make sure to check qemu-kill-node for consistency
-has_kvm=$(type -p qemu-kvm)
+
+# use kvm if available, but unless we find /root/no-kvm as this is broken on some h/w
+[ -f /root/no-kvm ] || has_kvm=$(type -p qemu-kvm)
 if [ -n "has_kvm" ] ; then
     QEMU="qemu-kvm" ; ARGS=""
 else