spapr_numa: forbid asymmetrical NUMA setups
commitee6635b227491e7d487ecd868e0dbfbb0c444217
authorDaniel Henrique Barboza <danielhb413@gmail.com>
Wed, 7 Oct 2020 17:28:46 +0000 (7 14:28 -0300)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 8 Oct 2020 23:52:09 +0000 (9 10:52 +1100)
treeb830a9ed51e512c0b3aae661e291ce0c7978d575
parent29bfe52a5229bd457d85e1033dbfd91fe441dcf3
spapr_numa: forbid asymmetrical NUMA setups

The pSeries machine does not support asymmetrical NUMA
configurations. This doesn't make much of a different
since we're not using user input for pSeries NUMA setup,
but this will change in the next patches.

To avoid breaking existing setups, gate this change by
checking for legacy NUMA support.

Reviewed-by: Greg Kurz <groug@kaod.org>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <20201007172849.302240-3-danielhb413@gmail.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr_numa.c