From 6f5066a3a012ebc2eb82c92b6808582397e304b4 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Fri, 19 Aug 2011 13:37:26 +0000 Subject: scripts/runqemu: add support to pass bootparams to kernel (From OE-Core rev: 4a2d3cfeeef4de6da1301c65033fa251538cddc9) Signed-off-by: Otavio Salvador Signed-off-by: Richard Purdie --- scripts/runqemu | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts') diff --git a/scripts/runqemu b/scripts/runqemu index ed8c05bcb2..91c3c9e93c 100755 --- a/scripts/runqemu +++ b/scripts/runqemu @@ -135,6 +135,9 @@ while [ $i -le $# ]; do SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -serial stdio" SCRIPT_KERNEL_OPT="$SCRIPT_KERNEL_OPT console=ttyS0" ;; + "bootparams="*) + SCRIPT_KERNEL_OPT="$SCRIPT_KERNEL_OPT ${arg##bootparams=}" + ;; "audio") if [[ "x$MACHINE" == "xqemux86" || "x$MACHINE" == "xqemux86-64" ]]; then echo "Enable audio on qemu. Pls. install snd_intel8x0 or snd_ens1370 driver in linux guest."; -- cgit v1.2.3-54-g00ecf