summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu
diff options
context:
space:
mode:
authorValentin Popa <valentin.popa@intel.com>2013-12-19 16:02:57 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-20 12:26:30 +0000
commitdd50c4d8a0cff2c4e0b8ff54d9ecf33d00301800 (patch)
tree642b83bf0f1c3907c08d44c43eadfe7735ecf823 /scripts/runqemu
parent963b69b5f3eb6dd1ff4052240eac16da6a892e4e (diff)
downloadpoky-dd50c4d8a0cff2c4e0b8ff54d9ecf33d00301800.tar.gz
runqemu: Allow user to set -vga option with qemuparams
At the moment, the user cannot to set -vga other then vmware (because "vmware" is set by default); and the first argument in qemuparams has higher precedence. (From OE-Core rev: 54a43397c48c974570e3eade55163eb766994a55) Signed-off-by: Valentin Popa <valentin.popa@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-xscripts/runqemu1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 9c0a03b4e2..dcb2931cac 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -156,6 +156,7 @@ while true; do
156 # to use simplified options instead 156 # to use simplified options instead
157 serial_option=`expr "$SCRIPT_QEMU_EXTRA_OPT" : '.*\(-serial\)'` 157 serial_option=`expr "$SCRIPT_QEMU_EXTRA_OPT" : '.*\(-serial\)'`
158 kvm_option=`expr "$SCRIPT_QEMU_EXTRA_OPT" : '.*\(-enable-kvm\)'` 158 kvm_option=`expr "$SCRIPT_QEMU_EXTRA_OPT" : '.*\(-enable-kvm\)'`
159 vga_option=`expr "$SCRIPT_QEMU_EXTRA_OPT" : '.*\(-vga\)'`
159 [ ! -z "$serial_option" -o ! -z "$kvm_option" ] && \ 160 [ ! -z "$serial_option" -o ! -z "$kvm_option" ] && \
160 echo "Please use simplified serial or kvm options instead" 161 echo "Please use simplified serial or kvm options instead"
161 ;; 162 ;;