From ffa5cc5d9bdc5055725f0ef1632d8876c16f5218 Mon Sep 17 00:00:00 2001 From: Nathan Chancellor Date: Thu, 27 Nov 2025 10:15:36 -0700 Subject: [PATCH] boot-qemu.py: Increase default memory to 1G 512m is becoming tight in some configurations, so bump the default to 1G to give a little more headroom. The palmetto machine for ARMv5 testing does not support this new value qemu-system-arm: Invalid RAM size 1 GiB So use the old default there. Signed-off-by: Nathan Chancellor --- boot-qemu.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boot-qemu.py b/boot-qemu.py index 1426933..c2a92d3 100755 --- a/boot-qemu.py +++ b/boot-qemu.py @@ -50,7 +50,7 @@ def __init__(self): self.interactive = False self.kernel = None self.kernel_dir = None - self.memory = '512m' + self.memory = '1G' self.supports_efi = False # It may be tempting to use self.use_kvm during initialization of # subclasses to set certain properties but the user can explicitly opt @@ -371,6 +371,7 @@ def __init__(self): super().__init__() self.cmdline.append('earlycon') + self.memory = '512m' self._dtbs = [ 'aspeed/aspeed-bmc-opp-palmetto.dtb', 'aspeed-bmc-opp-palmetto.dtb' @@ -597,7 +598,6 @@ class PowerPC64QEMURunner(QEMURunner): def __init__(self): super().__init__() - self.memory = '1G' self._default_kernel_path = Path('vmlinux') self._initrd_arch = self._qemu_arch = 'ppc64' self._qemu_args += [