Skip to content

Commit e43651f

Browse files
Igor Mammedovbonzini
authored andcommitted
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 <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
1 parent 2a4e02d commit e43651f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/qtest/numa-test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ static void pc_hmat_off_cfg(const void *data)
455455
cli = make_cli(data, "-nodefaults --preconfig "
456456
"-smp 2,sockets=2 "
457457
"-m 128M,slots=2,maxmem=1G "
458-
"-object memory-backend-ram,size=64M,id=m0 "
458+
"-object memory-backend-ram,size=64M,id=m0,prealloc=y "
459459
"-object memory-backend-ram,size=64M,id=m1 "
460460
"-numa node,nodeid=0,memdev=m0");
461461
qs = qtest_init(cli);

0 commit comments

Comments
 (0)