[oe-commits] Ricardo Neri : runqemu: Add option for BIOS binary filename

git at git.openembedded.org git at git.openembedded.org
Sat Feb 14 22:27:31 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: 29c9e6f44541b7f8731e21e9d1a0adca9da28e37
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=29c9e6f44541b7f8731e21e9d1a0adca9da28e37

Author: Ricardo Neri <ricardo.neri-calderon at linux.intel.com>
Date:   Fri Feb  6 12:59:58 2015 -0800

runqemu: Add option for BIOS binary filename

If we intend to use a custom BIOS binary file, it would be good to be
able to specify the name of the binary via the -bios option of qemu. The
name of the custom binary could be different from the default name used
by qemu. For instance, it was bios.bin in qemu 1.5.0 and changed to
bios-256k.bin for 2.1.0.

Signed-off-by: Ricardo Neri <ricardo.neri-calderon at linux.intel.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>

---

 scripts/runqemu | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/scripts/runqemu b/scripts/runqemu
index da35bb8..3d75319 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -153,6 +153,9 @@ while true; do
 	"biosdir="*)
             CUSTOMBIOSDIR="${arg##biosdir=}"
 	    ;;
+        "biosfilename="*)
+            SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -bios ${arg##biosfilename=}"
+            ;;
         "qemuparams="*)
             SCRIPT_QEMU_EXTRA_OPT="${arg##qemuparams=}"
 



More information about the Openembedded-commits mailing list