qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH for-5.0 2/2] tests: numa: test one backend with prealloc enabled


From: Igor Mammedov
Subject: [PATCH for-5.0 2/2] tests: numa: test one backend with prealloc enabled
Date: Wed, 25 Mar 2020 05:44:23 -0400

canbalize one backend in hmat test to make sure that
prealloc=y is tested

Signed-off-by: Igor Mammedov <address@hidden>
---
 tests/qtest/numa-test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/qtest/numa-test.c b/tests/qtest/numa-test.c
index 2f9b7f663a..e1ed6d4322 100644
--- a/tests/qtest/numa-test.c
+++ b/tests/qtest/numa-test.c
@@ -455,7 +455,7 @@ static void pc_hmat_off_cfg(const void *data)
     cli = make_cli(data, "-nodefaults --preconfig "
                          "-smp 2,sockets=2 "
                          "-m 128M,slots=2,maxmem=1G "
-                         "-object memory-backend-ram,size=64M,id=m0 "
+                         "-object memory-backend-ram,size=64M,id=m0,prealloc=y 
"
                          "-object memory-backend-ram,size=64M,id=m1 "
                          "-numa node,nodeid=0,memdev=m0");
     qs = qtest_init(cli);
-- 
2.18.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]