44 lines
1.7 KiB
Diff
44 lines
1.7 KiB
Diff
|
|
From c113a6e7135eb5f3676c59f733dd109a8be95b44 Mon Sep 17 00:00:00 2001
|
||
|
|
From: tangbinzy <tangbin_yewu@cmss.chinamobile.com>
|
||
|
|
Date: Tue, 10 Sep 2024 11:48:29 +0000
|
||
|
|
Subject: [PATCH] qtest/fuzz-lsi53c895a-test: set guest RAM to 2G mainline
|
||
|
|
inclusion commit a772ddc1c013c3ff54cd6bc5f1e4a9107093fc01 category: bugfix
|
||
|
|
MIME-Version: 1.0
|
||
|
|
Content-Type: text/plain; charset=UTF-8
|
||
|
|
Content-Transfer-Encoding: 8bit
|
||
|
|
|
||
|
|
---------------------------------------------------------------
|
||
|
|
|
||
|
|
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>
|
||
|
|
Message-Id: <20220902133853.834065-1-mcascell@redhat.com>
|
||
|
|
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
|
||
|
|
Tested-by: Bin Meng <bmeng.cn@gmail.com>
|
||
|
|
Reviewed-by: Alexander Bulekov <alxndr@bu.edu>
|
||
|
|
Signed-off-by: Thomas Huth <thuth@redhat.com>
|
||
|
|
|
||
|
|
Signed-off-by: tangbinzy <tangbin_yewu@cmss.chinamobile.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 9c50958796..bd18e8622e 100644
|
||
|
|
--- a/tests/qtest/fuzz-lsi53c895a-test.c
|
||
|
|
+++ b/tests/qtest/fuzz-lsi53c895a-test.c
|
||
|
|
@@ -51,7 +51,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.41.0.windows.1
|
||
|
|
|