aboutsummaryrefslogtreecommitdiff
path: root/qemu-nbd.c
diff options
context:
space:
mode:
authorGavin Shan <gshan@redhat.com>2022-05-03 22:03:04 +0800
committerPeter Maydell <peter.maydell@linaro.org>2022-05-09 11:47:55 +0100
commitae9141d4a3265553503bf07d3574b40f84615a34 (patch)
treebecab677abe9fe3f9d284c8549ad613b946ab9ee /qemu-nbd.c
parent4c18bc192386dfbca530e7f550e0992df657818a (diff)
hw/acpi/aml-build: Use existing CPU topology to build PPTT tablepull-target-arm-20220509
When the PPTT table is built, the CPU topology is re-calculated, but it's unecessary because the CPU topology has been populated in virt_possible_cpu_arch_ids() on arm/virt machine. This reworks build_pptt() to avoid by reusing the existing IDs in ms->possible_cpus. Currently, the only user of build_pptt() is arm/virt machine. Signed-off-by: Gavin Shan <gshan@redhat.com> Tested-by: Yanan Wang <wangyanan55@huawei.com> Reviewed-by: Yanan Wang <wangyanan55@huawei.com> Acked-by: Igor Mammedov <imammedo@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Message-id: 20220503140304.855514-7-gshan@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'qemu-nbd.c')
0 files changed, 0 insertions, 0 deletions