On 7/20/23 23:10, Peter Maydell wrote:
On Mon, 26 Jun 2023 at 12:15, Paolo Bonzini <pbonz...@redhat.com> wrote:
From: Gavin Shan <gs...@redhat.com>
For some architectures like ARM64, multiple CPUs in one cluster can be
associated with different NUMA nodes, which is irregular configuration
because we shouldn't have this in baremetal environment. The irregular
configuration causes Linux guest to misbehave, as the following warning
messages indicate.
-smp 6,maxcpus=6,sockets=2,clusters=1,cores=3,threads=1 \
-numa node,nodeid=0,cpus=0-1,memdev=ram0 \
-numa node,nodeid=1,cpus=2-3,memdev=ram1 \
-numa node,nodeid=2,cpus=4-5,memdev=ram2 \
Hi. This new warning shows up a lot in "make check" output:
$ grep -c 'can cause OSes' /tmp/parn3ofA.par
44
Looks like this is all in the qtest-aarch64/numa-test test.
Please can you investigate and either:
(1) fix the test not to do the bad thing that's causing the warning
(2) change the warning so it doesn't show up in stderr when
running a correct and passing test
?
Yes, all the warning messages come from tests/qtest/numa-test.c. There
are 3 configurations where the boundary of CPU cluster and NUMA node is
broken as expected. I've sent a patch to disable the validation for qtest.
https://lists.nongnu.org/archive/html/qemu-arm/2023-07/msg00440.html
With the patch applied, I didn't see similar warning messages from
"make -j 40 check-qtest".
Thanks,
Gavin