From: John Hodge Date: Sun, 22 Sep 2013 15:49:53 +0000 (+0800) Subject: ROOT/RunQemuArm - Added -notee option X-Git-Tag: rel0.15~174 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=b9abae07f2ffe12074b548ff40db2a59e4ff60fb;p=tpg%2Facess2.git ROOT/RunQemuArm - Added -notee option --- diff --git a/RunQemuArm b/RunQemuArm index 961b6a21..48df52e9 100755 --- a/RunQemuArm +++ b/RunQemuArm @@ -9,6 +9,7 @@ _KERNEL=Acess2.armv7-realview_pb.bin QEMU_PARAMS="" _NETTYPE="user" +TEE="| tee QemuLog.txt" while [ $# -ne 0 ]; do case $1 in @@ -40,6 +41,10 @@ while [ $# -ne 0 ]; do ;; -tuntap) _NETTYPE="tap" + ;; + -notee) + TEE="" + ;; esac shift done @@ -47,4 +52,4 @@ QEMU_PARAMS="-M $_SYSTEM -kernel KernelLand/$_KERNEL -net nic -net $_NETTYPE"$QE # /home/tpg/apps/bin/qemu-system-x86_64 $QEMU_PARAMS -serial stdio -serial file:QemuLog.txt # qemu-system-x86_64 $QEMU_PARAMS -serial stdio | tee QemuLog.txt -$QEMU $QEMU_PARAMS -serial stdio | tee QemuLog.txt +$QEMU $QEMU_PARAMS -serial stdio $TEE