changelog since v2: (Eduardo) - keep original logic in when moving numa part into helper numa: consolidate cpu_preplug fixups/checks for pc/arm/spapr - drop "numa: fallback to default NUMA node instead of node 0" - split out monitor hunk into separate patch - split out spapr_fixup_cpu_numa_dt refactoring into separate patch - add extra patch to make default node-id calculation more robust changelog since v1: (Eduardo) - user error_abort in numa_cpu_pre_plug() - make default_mapping boolean - redo default mapping detection loop as a combo of for/if - return back lost TODO comment - new patch removing numa_node from generic CPUState - drop silence test patch as it's already in pull req on list - new patch [3/5] to fix missing _PXM/fdt nodes for implicitly mapped CPUs - new patch dropping fallback to node 0
git repo for testing: https://github.com/imammedo/qemu.git cphp_numa_cfg_follow_up_v3_cleanups_v3 CC: qemu-...@nongnu.org CC: qemu-...@nongnu.org CC: Eduardo Habkost <ehabk...@redhat.com> CC: David Gibson <da...@gibson.dropbear.id.au> CC: Andrew Jones <drjo...@redhat.com> Igor Mammedov (7): numa: consolidate cpu_preplug fixups/checks for pc/arm/spapr numa: move default mapping init to machine numa: make sure that all cpus have has_node_id set if numa is enabled numa: make hmp 'info numa' fetch numa nodes from qmp_query_cpus() result numa: move numa_node from CPUState into target specific classes spapr: cleanup spapr_fixup_cpu_numa_dt() usage numa: cpu: calculate/set default node-ids after all -numa CLI options are parsed include/hw/boards.h | 3 +++ include/qom/cpu.h | 2 -- include/sysemu/numa.h | 10 +++++++++ target/arm/cpu.h | 2 ++ target/i386/cpu.h | 1 + target/ppc/cpu.h | 1 + hw/arm/virt-acpi-build.c | 4 +--- hw/arm/virt.c | 32 +++++++++------------------ hw/core/machine.c | 38 +++++++++++++++++++++++--------- hw/i386/acpi-build.c | 3 +-- hw/i386/pc.c | 42 ++++++++++++----------------------- hw/ppc/spapr.c | 57 ++++++++++++++++-------------------------------- hw/ppc/spapr_cpu_core.c | 4 +++- monitor.c | 11 ++++++---- numa.c | 43 +++++++++++++++--------------------- target/arm/cpu.c | 2 +- target/i386/cpu.c | 2 +- 17 files changed, 119 insertions(+), 138 deletions(-) -- 2.7.4