mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 09:32:17 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
963b69b5f3
commit
dd50c4d8a0
@@ -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"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user