summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-xscripts/runqemu2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index b8148ef55e..188eccf003 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -64,6 +64,7 @@ LAZY_ROOTFS=""
64SCRIPT_QEMU_OPT="" 64SCRIPT_QEMU_OPT=""
65SCRIPT_QEMU_EXTRA_OPT="" 65SCRIPT_QEMU_EXTRA_OPT=""
66SCRIPT_KERNEL_OPT="" 66SCRIPT_KERNEL_OPT=""
67SERIALSTDIO=""
67 68
68# Determine whether the file is a kernel or QEMU image, and set the 69# Determine whether the file is a kernel or QEMU image, and set the
69# appropriate variables 70# appropriate variables
@@ -138,6 +139,7 @@ while true; do
138 "serial") 139 "serial")
139 SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -serial stdio" 140 SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -serial stdio"
140 SCRIPT_KERNEL_OPT="$SCRIPT_KERNEL_OPT console=ttyS0" 141 SCRIPT_KERNEL_OPT="$SCRIPT_KERNEL_OPT console=ttyS0"
142 SERIALSTDIO="1"
141 ;; 143 ;;
142 "qemuparams="*) 144 "qemuparams="*)
143 SCRIPT_QEMU_EXTRA_OPT="${arg##qemuparams=}" 145 SCRIPT_QEMU_EXTRA_OPT="${arg##qemuparams=}"