From 61f91364f8b6402665484a0834e27f67d60f15fa Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 24 Sep 2025 10:36:36 +0200 Subject: run-riscv-qemu: Allocate at least 8G for memory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I don't know what were the defaults for this, but it was certainly not enough in order to run some of the selftests from the Linux kernel. Signed-off-by: Miquel Sabaté Solà --- bin/run-riscv-qemu.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'bin') diff --git a/bin/run-riscv-qemu.sh b/bin/run-riscv-qemu.sh index 2e926cf..5098beb 100755 --- a/bin/run-riscv-qemu.sh +++ b/bin/run-riscv-qemu.sh @@ -88,6 +88,7 @@ set -x qemu-system-riscv64 -machine virt -nographic \ -cpu "$QEMU_CPU" \ + -m 8G \ -smp "$QEMU_SMP" \ -kernel "$QEMU_KERNEL" \ -initrd "$BUSYBOX_SRC/initramfs.cpio.gz" \ -- cgit v1.2.3