From 54a43397c48c974570e3eade55163eb766994a55 Mon Sep 17 00:00:00 2001 From: Valentin Popa Date: Thu, 19 Dec 2013 16:02:57 +0200 Subject: 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 Signed-off-by: Saul Wold --- scripts/runqemu | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/runqemu') 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 # 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" ;; -- cgit 1.2.3-korg