aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/runqemu
diff options
context:
space:
mode:
authorRadu Moisan <radu.moisan@intel.com>2013-06-28 11:27:56 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-07-09 10:48:49 +0100
commitee7d64dfcc02ba8f568b17d181e0a58d3c810076 (patch)
treec9b4faff755009a6d6c1fd68790dc756aeeffe0f /scripts/runqemu
parent1cfec2f0a1a1ee84cc6b2b6ad890688da85c5e81 (diff)
downloadopenembedded-core-contrib-ee7d64dfcc02ba8f568b17d181e0a58d3c810076.tar.gz
lib/oeqa/utils/qemurunner.py: class to handle qemu instance
Handles qemu instances (launch, kill, restart, serial connection, logging) Launch is blocking until login prompt and returns to the task. A qemu serial connection is used to save the boot log and get the ip from the image. Changed runqemu script not to error out when using custom serial option. Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-xscripts/runqemu2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index f2eb2e1768..406092be3c 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -156,7 +156,7 @@ while true; do
serial_option=`expr "$SCRIPT_QEMU_EXTRA_OPT" : '.*\(-serial\)'`
kvm_option=`expr "$SCRIPT_QEMU_EXTRA_OPT" : '.*\(-enable-kvm\)'`
[ ! -z "$serial_option" -o ! -z "$kvm_option" ] && \
- error "Please use simplified serial or kvm options instead"
+ echo "Please use simplified serial or kvm options instead"
;;
"bootparams="*)
SCRIPT_KERNEL_OPT="$SCRIPT_KERNEL_OPT ${arg##bootparams=}"