So far this simple option parsing loop allows us to --force-tcg even when running on ARM hardware. Signed-off-by: Alex Bennée <alex.bennee@xxxxxxxxxx> --- arm/run | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arm/run b/arm/run index a3a33b3..43d7508 100755 --- a/arm/run +++ b/arm/run @@ -18,6 +18,23 @@ if [ -c /dev/kvm ]; then fi fi +while :; do + case $1 in + --force-tcg) + usingkvm=0 + shift + ;; + --) + # End of all options. + shift + break + ;; + *) + break + ;; + esac +done + qemu="${QEMU:-qemu-system-$ARCH_NAME}" qpath=$(which $qemu 2>/dev/null) -- 2.4.5 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html