support/testing/infra/emulator: increase memory size used by Qemu
PATCH 1/1 support/testing/infra/emulator: increase memory size used by Qemu
By default, Qemu emulates a system with 128 MB of RAM. This is not sufficient for some test cases we have, such as TestPerlDBDmysql, where the initramfs is quite large. Therefore, this commit extends the RAM size emulated by Qemu to 256 MB.
Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/237108668
Thanks to Arnout for the analysis of the issue.
--- support/testing/infra/emulator.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
support/testing/infra/emulator.py +2 -1
@@ -38,7 +38,8 @@ class Emulator(object): qemu_cmd = ["qemu-system-{}".format(qemu_arch), "-serial", "stdio", - "-display", "none"] + "-display", "none", + "-m", "256"] if options: qemu_cmd += options
Signature · 1 line
2.21.0
PATCH 1/1 support/testing/infra/emulator: increase memory size used by Qemu
Le ven. 21 juin 2019 ? 23:15, Thomas Petazzoni <[email protected]> a ?crit :
Quoted 5 lines
By default, Qemu emulates a system with 128 MB of RAM. This is not sufficient for some test cases we have, such as TestPerlDBDmysql, where the initramfs is quite large. Therefore, this commit extends the RAM size emulated by Qemu to 256 MB.
Quoted 8 lines
Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/237108668
Thanks to Arnout for the analysis of the issue.
Signed-off-by Thomas Petazzoni <[email protected]>
---
Quoted 19 lines
support/testing/infra/emulator.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)support/testing/infra/emulator.py +2
-2@@ -38,7 +38,8 @@ class Emulator(object): qemu_cmd = ["qemu-system-{}".format(qemu_arch), "-serial", "stdio", - "-display", "none"] + "-display", "none", + "-m", "256"] if options: qemu_cmd += options --
Quoted 3 lines
2.21.0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190622/158a4824/attachment.html>
Thomas Petazzoni
AppliedPATCH 1/1 support/testing/infra/emulator: increase memory size used by Qemu
In reply to Thomas PetazzoniQuoted 7 lines · On Fri, 21 Jun 2019 22:27:24 +0200 Thomas Petazzoni…
By default, Qemu emulates a system with 128 MB of RAM. This is not sufficient for some test cases we have, such as TestPerlDBDmysql, where the initramfs is quite large. Therefore, this commit extends the RAM size emulated by Qemu to 256 MB.
Fixes:
Quoted 8 lines
https://gitlab.com/buildroot.org/buildroot/-/jobs/237108668
Thanks to Arnout for the analysis of the issue.
Signed-off-by Thomas Petazzoni <[email protected]>--- support/testing/infra/emulator.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/1 support/testing/infra/emulator: increase memory size used by Qemu
In reply to Thomas PetazzoniQuoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
By default, Qemu emulates a system with 128 MB of RAM. This is not sufficient for some test cases we have, such as TestPerlDBDmysql, where the initramfs is quite large. Therefore, this commit extends the RAM size emulated by Qemu to 256 MB.
Quoted 7 lines
Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/237108668
Thanks to Arnout for the analysis of the issue.
Signed-off-by Thomas Petazzoni <[email protected]>
Committed to 2019.02.x and 2019.05.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard