diff options
author | Valentin Popa <valentin.popa@intel.com> | 2013-12-19 16:02:57 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-20 12:25:23 +0000 |
commit | 54a43397c48c974570e3eade55163eb766994a55 (patch) | |
tree | 772ae511e3271bc4c041f075703d5236ab19975e /scripts/runqemu | |
parent | 0c30a25c3d5f7fb1087dff45e01595329620235f (diff) | |
download | openembedded-core-contrib-54a43397c48c974570e3eade55163eb766994a55.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.
Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-x | scripts/runqemu | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index 9c0a03b4e2d..dcb2931cacc 100755 --- a/scripts/runqemu +++ b/scripts/runqemu @@ -156,6 +156,7 @@ while true; do # to use simplified options instead serial_option=`expr "$SCRIPT_QEMU_EXTRA_OPT" : '.*\(-serial\)'` kvm_option=`expr "$SCRIPT_QEMU_EXTRA_OPT" : '.*\(-enable-kvm\)'` + vga_option=`expr "$SCRIPT_QEMU_EXTRA_OPT" : '.*\(-vga\)'` [ ! -z "$serial_option" -o ! -z "$kvm_option" ] && \ echo "Please use simplified serial or kvm options instead" ;; |