From 6ccd4d6a9d3910b6e729fe2d00056d8d325403c8 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Mon, 2 Sep 2013 11:35:14 +0100 Subject: [PATCH] runqemu: set memory size to 256M for most qemu machines Set memory size to 256M for qemuarm, qemux86, qemux86-64, qemumips, qemumips64, and qemuppc. This allows the smart automated tests to run on machines with a GUI environment (such as Sato) running at the same time, for which 128M is too limiting. Setting this in runqemu allows users manually using runqemu to avoid the same out-of-memory issues under similar conditions using smart, on-target compilation or other uses. Fixes [YOCTO #5045]. (From OE-Core rev: fe5dfdece98692f8fa731c8d11c907a272266ea5) Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- scripts/runqemu-internal | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal index f9d8728224..485119f5d9 100755 --- a/scripts/runqemu-internal +++ b/scripts/runqemu-internal @@ -42,22 +42,22 @@ if [ ! -z "$mem_set" ] ; then else case "$MACHINE" in "qemux86") - mem_size=128 + mem_size=256 ;; "qemux86-64") - mem_size=128 + mem_size=256 ;; "qemuarm") - mem_size=128 + mem_size=256 ;; "qemumicroblaze") mem_size=64 ;; "qemumips"|"qemumips64") - mem_size=128 + mem_size=256 ;; "qemuppc") - mem_size=128 + mem_size=256 ;; "qemush4") mem_size=1024