summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2019-08-28 17:24:38 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-08-30 17:10:28 +0100
commitb0bad37101129dce533bbc406ace779c4a1aa789 (patch)
tree1c709648dff33a5aa13761ceffb62e0cee461936 /scripts
parent51baa9a3b4948683a962674b4854ceaa06d3eb4f (diff)
downloadpoky-b0bad37101129dce533bbc406ace779c4a1aa789.tar.gz
qemu: set default RAM to 256M for all machines
There was a discussion about what amount of RAM is appropriate for a default; the outcome was that for now it is still 256M. Some qemu machine definitions have however set this to 512M so for the sake of treating all architectures fairly, they are reset back to 256M. Also runqemu is adjusted to use 256M if QB_MEM is not set at all. http://lists.openembedded.org/pipermail/openembedded-core/2019-August/285900.html (From OE-Core rev: 04c01b6cc5be3e6d45d0e04571640648a5655a8b) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/runqemu4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index e9b83737cb..7705b2b60e 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -755,8 +755,8 @@ class BaseConfig(object):
755 if s: 755 if s:
756 self.set('QB_MEM', '-m %s' % s.group(1)) 756 self.set('QB_MEM', '-m %s' % s.group(1))
757 elif not self.get('QB_MEM'): 757 elif not self.get('QB_MEM'):
758 logger.info('QB_MEM is not set, use 512M by default') 758 logger.info('QB_MEM is not set, use 256M by default')
759 self.set('QB_MEM', '-m 512') 759 self.set('QB_MEM', '-m 256')
760 760
761 # Check and remove M or m suffix 761 # Check and remove M or m suffix
762 qb_mem = self.get('QB_MEM') 762 qb_mem = self.get('QB_MEM')