diff --git a/hw/core/machine.c b/hw/core/machine.c index fc239101f9..fb5afdcae4 100644 --- a/hw/core/machine.c +++ b/hw/core/machine.c @@ -1312,7 +1312,7 @@ static void validate_cpu_cluster_to_numa_boundary(MachineState *ms) const CPUArchId *cpus = possible_cpus->cpus; int i, j; - if (state->num_nodes <= 1 || possible_cpus->len <= 1) { + if (qtest_enabled() || state->num_nodes <= 1 || possible_cpus->len <= 1) { return; }