aboutsummaryrefslogtreecommitdiff
path: root/tests/qtest/numa-test.c
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2020-03-25 05:44:23 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2020-04-14 10:35:44 -0400
commite43651ff88c59d96d9d860310b13a99307e9c9bd (patch)
tree727e0f993f09abb5b12a2631f99c32a3bb2efc18 /tests/qtest/numa-test.c
parent2a4e02d104b15e0335fbb71af7e069751d7d33b7 (diff)
downloadqemu-e43651ff88c59d96d9d860310b13a99307e9c9bd.zip
qemu-e43651ff88c59d96d9d860310b13a99307e9c9bd.tar.gz
qemu-e43651ff88c59d96d9d860310b13a99307e9c9bd.tar.bz2
tests: numa: test one backend with prealloc enabled
Cannibalize one backend in the HMAT test to make sure that prealloc=y is tested. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <20200325094423.24293-3-imammedo@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/qtest/numa-test.c')
-rw-r--r--tests/qtest/numa-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qtest/numa-test.c b/tests/qtest/numa-test.c
index 2f9b7f6..e1ed6d4 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);