Skip to content
Snippets Groups Projects
Commit c9ec4cb5 authored by Gavin Shan's avatar Gavin Shan Committed by Peter Maydell
Browse files

hw/arm/virt: Consider SMP configuration in CPU topology


Currently, the SMP configuration isn't considered when the CPU
topology is populated. In this case, it's impossible to provide
the default CPU-to-NUMA mapping or association based on the socket
ID of the given CPU.

This takes account of SMP configuration when the CPU topology
is populated. The die ID for the given CPU isn't assigned since
it's not supported on arm/virt machine. Besides, the used SMP
configuration in qtest/numa-test/aarch64_numa_cpu() is corrcted
to avoid testing failure

Signed-off-by: default avatarGavin Shan <gshan@redhat.com>
Reviewed-by: default avatarYanan Wang <wangyanan55@huawei.com>
Acked-by: default avatarIgor Mammedov <imammedo@redhat.com>
Message-id: 20220503140304.855514-4-gshan@redhat.com
Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
parent ac7199a2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment