c4177479 "spapr: make sure RMA is in first mode of first memory node" introduced regression which prevents from running guests with memoryless NUMA node#0 which may happen on real POWER8 boxes and which would make sense to debug in QEMU.
This patchset aim is to fix that and also fix various code problems in memory nodes generation. These 2 patches could be merged (the resulting patch looks rather ugly): spapr: Use DT memory node rendering helper for other nodes spapr: Move DT memory node rendering to a helper Please comment. Thanks! Alexey Kardashevskiy (7): spapr: Move DT memory node rendering to a helper spapr: Use DT memory node rendering helper for other nodes spapr: Refactor spapr_populate_memory() spapr: Split memory nodes to power-of-two blocks spapr: Add a helper for node0_size calculation spapr: Fix ibm,associativity for memory nodes numa: Allow empty nodes hw/ppc/spapr.c | 104 +++++++++++++++++++++++++++++++-------------------------- vl.c | 2 +- 2 files changed, 57 insertions(+), 49 deletions(-) -- 2.0.0