From 6f3583675d31b74a3ae1c7fae450ea1624acc2e7 Mon Sep 17 00:00:00 2001 From: Jialing Zhang Date: Wed, 22 Mar 2023 10:45:59 +0800 Subject: [PATCH] Do not remove the -m option for loongarch64 Signed-off-by: Jialing Zhang Signed-off-by: Qizheng Zhu Signed-off-by: Alexandre Belloni --- scripts/runqemu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/runqemu b/scripts/runqemu index 1a378925cec..fee6b25b974 100755 --- a/scripts/runqemu +++ b/scripts/runqemu @@ -811,7 +811,7 @@ to your build configuration. self.set('QB_MEM', qb_mem) mach = self.get('MACHINE') - if not mach.startswith(('qemumips', 'qemux86')): + if not mach.startswith(('qemumips', 'qemux86', 'qemuloongarch64')): self.kernel_cmdline_script += ' mem=%s' % self.get('QB_MEM').replace('-m','').strip() + 'M' self.qemu_opt_script += ' %s' % self.get('QB_MEM') -- 2.47.3