Message ID | 20250228102738.3064045-5-berrange@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | tests/functional: a few misc cleanups and fixes | expand |
On 2/28/25 02:27, Daniel P. Berrangé wrote: > maxmem=4G is too large to address on 32-bit hosts, so reduce it > to 2G since the tuxrun tests don't actually need such an elevated > memory limit. > > Signed-off-by: Daniel P. Berrangé<berrange@redhat.com> > --- > tests/functional/test_ppc64_tuxrun.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
On 28/02/2025 11.27, Daniel P. Berrangé wrote: > maxmem=4G is too large to address on 32-bit hosts, so reduce it > to 2G since the tuxrun tests don't actually need such an elevated > memory limit. > > Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> > --- > tests/functional/test_ppc64_tuxrun.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tests/functional/test_ppc64_tuxrun.py b/tests/functional/test_ppc64_tuxrun.py > index 05c6162b5e..e8f79c676e 100755 > --- a/tests/functional/test_ppc64_tuxrun.py > +++ b/tests/functional/test_ppc64_tuxrun.py > @@ -64,7 +64,7 @@ def ppc64_common_tuxrun(self, kernel_asset, rootfs_asset, prefix): > ',"index":1,"id":"pci.1"}') > self.vm.add_args('-device', '{"driver":"spapr-vscsi","id":"scsi1"' > ',"reg":12288}') > - self.vm.add_args('-m', '2G,slots=32,maxmem=4G', > + self.vm.add_args('-m', '1G,slots=32,maxmem=2G', > '-object', 'memory-backend-ram,id=ram1,size=1G', > '-device', 'pc-dimm,id=dimm1,memdev=ram1') Reviewed-by: Thomas Huth <thuth@redhat.com>
diff --git a/tests/functional/test_ppc64_tuxrun.py b/tests/functional/test_ppc64_tuxrun.py index 05c6162b5e..e8f79c676e 100755 --- a/tests/functional/test_ppc64_tuxrun.py +++ b/tests/functional/test_ppc64_tuxrun.py @@ -64,7 +64,7 @@ def ppc64_common_tuxrun(self, kernel_asset, rootfs_asset, prefix): ',"index":1,"id":"pci.1"}') self.vm.add_args('-device', '{"driver":"spapr-vscsi","id":"scsi1"' ',"reg":12288}') - self.vm.add_args('-m', '2G,slots=32,maxmem=4G', + self.vm.add_args('-m', '1G,slots=32,maxmem=2G', '-object', 'memory-backend-ram,id=ram1,size=1G', '-device', 'pc-dimm,id=dimm1,memdev=ram1')
maxmem=4G is too large to address on 32-bit hosts, so reduce it to 2G since the tuxrun tests don't actually need such an elevated memory limit. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> --- tests/functional/test_ppc64_tuxrun.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)