diff options
author | Radu Moisan <radu.moisan@intel.com> | 2013-06-28 11:27:56 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-09 10:48:49 +0100 |
commit | ee7d64dfcc02ba8f568b17d181e0a58d3c810076 (patch) | |
tree | c9b4faff755009a6d6c1fd68790dc756aeeffe0f /scripts/runqemu | |
parent | 1cfec2f0a1a1ee84cc6b2b6ad890688da85c5e81 (diff) | |
download | openembedded-core-ee7d64dfcc02ba8f568b17d181e0a58d3c810076.tar.gz openembedded-core-ee7d64dfcc02ba8f568b17d181e0a58d3c810076.tar.bz2 openembedded-core-ee7d64dfcc02ba8f568b17d181e0a58d3c810076.zip |
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-x | scripts/runqemu | 2 |
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=}" |