[PATCH] qtest/fuzz-lsi53c895a-test: set guest RAM to 2G

Mauro Matteo Cascella posted 1 patch 3 years, 5 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220902133853.834065-1-mcascell@redhat.com
Maintainers: Alexander Bulekov <alxndr@bu.edu>, Paolo Bonzini <pbonzini@redhat.com>, Bandan Das <bsd@redhat.com>, Stefan Hajnoczi <stefanha@redhat.com>, Thomas Huth <thuth@redhat.com>, Darren Kenny <darren.kenny@oracle.com>, Qiuhao Li <Qiuhao.Li@outlook.com>, Fam Zheng <fam@euphon.net>, Laurent Vivier <lvivier@redhat.com>
tests/qtest/fuzz-lsi53c895a-test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] qtest/fuzz-lsi53c895a-test: set guest RAM to 2G
Posted by Mauro Matteo Cascella 3 years, 5 months ago
test_lsi_do_msgout_cancel_req does not run on machines with small size
memory. Reduce guest memory from 4G to 2G to alleviate the problem.

Reported-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Mauro Matteo Cascella <mcascell@redhat.com>
---
 tests/qtest/fuzz-lsi53c895a-test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/qtest/fuzz-lsi53c895a-test.c b/tests/qtest/fuzz-lsi53c895a-test.c
index b23d3ecf45..434c16bf42 100644
--- a/tests/qtest/fuzz-lsi53c895a-test.c
+++ b/tests/qtest/fuzz-lsi53c895a-test.c
@@ -21,7 +21,7 @@ static void test_lsi_do_msgout_cancel_req(void)
         return;
     }
 
-    s = qtest_init("-M q35 -m 4G -display none -nodefaults "
+    s = qtest_init("-M q35 -m 2G -display none -nodefaults "
                    "-device lsi53c895a,id=scsi "
                    "-device scsi-hd,drive=disk0 "
                    "-drive file=null-co://,id=disk0,if=none,format=raw");
-- 
2.37.2
Re: [PATCH] qtest/fuzz-lsi53c895a-test: set guest RAM to 2G
Posted by Bin Meng 3 years, 5 months ago
On Fri, Sep 2, 2022 at 9:39 PM Mauro Matteo Cascella
<mcascell@redhat.com> wrote:
>
> test_lsi_do_msgout_cancel_req does not run on machines with small size
> memory. Reduce guest memory from 4G to 2G to alleviate the problem.
>
> Reported-by: Bin Meng <bmeng.cn@gmail.com>
> Signed-off-by: Mauro Matteo Cascella <mcascell@redhat.com>
> ---
>  tests/qtest/fuzz-lsi53c895a-test.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Tested-by: Bin Meng <bmeng.cn@gmail.com>

Thanks!
Re: [PATCH] qtest/fuzz-lsi53c895a-test: set guest RAM to 2G
Posted by Alexander Bulekov 3 years, 5 months ago
On 220902 1538, Mauro Matteo Cascella wrote:
> test_lsi_do_msgout_cancel_req does not run on machines with small size
> memory. Reduce guest memory from 4G to 2G to alleviate the problem.
> 
> Reported-by: Bin Meng <bmeng.cn@gmail.com>
> Signed-off-by: Mauro Matteo Cascella <mcascell@redhat.com>
> ---
>  tests/qtest/fuzz-lsi53c895a-test.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Alexander Bulekov <alxndr@bu.edu>

Thanks!
Re: [PATCH] qtest/fuzz-lsi53c895a-test: set guest RAM to 2G
Posted by Philippe Mathieu-Daudé via 3 years, 5 months ago
On 2/9/22 15:38, Mauro Matteo Cascella wrote:
> test_lsi_do_msgout_cancel_req does not run on machines with small size
> memory. Reduce guest memory from 4G to 2G to alleviate the problem.
> 
> Reported-by: Bin Meng <bmeng.cn@gmail.com>
> Signed-off-by: Mauro Matteo Cascella <mcascell@redhat.com>
> ---
>   tests/qtest/fuzz-lsi53c895a-test.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>