]> code.ossystems Code Review - openembedded-core.git/commit
scripts/poky-qemu-internal: Pass -m <mem_size> always on commandline
authorKhem Raj <raj.khem@gmail.com>
Thu, 17 Mar 2011 03:20:24 +0000 (20:20 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 21 Mar 2011 18:04:53 +0000 (18:04 +0000)
commit03ef61ed189264a75adbaf32644a80568b410b9b
tree1c030853c19fef168749958bdb42686df6042004
parentcd28d5f5ad7855d0d6a15bec5317c942e2462065
scripts/poky-qemu-internal: Pass -m <mem_size> always on commandline

There is a nasty bug in qemu 0.14.0 where it over writes device memory
if the default sizes was not specified on commandline. It can be
worked around by this patch.

I also simplified the memory size calculation logic a bit so we append
'M' to QEMU_MEMORY at the very end instead of sed'ing it afterwards

Signed-off-by: Khem Raj <raj.khem@gmail.com>
scripts/poky-qemu-internal