aboutsummaryrefslogtreecommitdiff
path: root/tests/qtest/numa-test.c
diff options
context:
space:
mode:
authorAni Sinha <anisinha@redhat.com>2024-06-10 21:22:58 +0530
committerThomas Huth <thuth@redhat.com>2024-06-12 10:19:57 +0200
commit07c8d9ac0fa30712fdf78046a7998ee8d2231d6f (patch)
tree06cb69568b71983d8395731dd34360486639987c /tests/qtest/numa-test.c
parent23530e42d27cac186eadf54b323c15dd39da5541 (diff)
downloadqemu-07c8d9ac0fa30712fdf78046a7998ee8d2231d6f.zip
qemu-07c8d9ac0fa30712fdf78046a7998ee8d2231d6f.tar.gz
qemu-07c8d9ac0fa30712fdf78046a7998ee8d2231d6f.tar.bz2
qtest/x86/numa-test: do not use the obsolete 'pentium' cpu
'pentium' cpu is old and obsolete and should be avoided for running tests if its not strictly needed. Use 'max' cpu instead for generic non-cpu specific numa test. Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Tested-by: Mario Casquero <mcasquer@redhat.com> Signed-off-by: Ani Sinha <anisinha@redhat.com> Message-ID: <20240610155303.7933-2-anisinha@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/qtest/numa-test.c')
-rw-r--r--tests/qtest/numa-test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/qtest/numa-test.c b/tests/qtest/numa-test.c
index 5518f65..ede4189 100644
--- a/tests/qtest/numa-test.c
+++ b/tests/qtest/numa-test.c
@@ -125,7 +125,8 @@ static void pc_numa_cpu(const void *data)
QTestState *qts;
g_autofree char *cli = NULL;
- cli = make_cli(data, "-cpu pentium -machine smp.cpus=8,smp.sockets=2,smp.cores=2,smp.threads=2 "
+ cli = make_cli(data,
+ "-cpu max -machine smp.cpus=8,smp.sockets=2,smp.cores=2,smp.threads=2 "
"-numa node,nodeid=0,memdev=ram -numa node,nodeid=1 "
"-numa cpu,node-id=1,socket-id=0 "
"-numa cpu,node-id=0,socket-id=1,core-id=0 "