summary refs log tree commit diff stats
path: root/scripts/qapi/parser.py
diff options
context:
space:
mode:
authorDaniel Henrique Barboza <danielhb413@gmail.com>2021-09-20 14:49:41 -0300
committerDavid Gibson <david@gibson.dropbear.id.au>2021-09-30 12:26:06 +1000
commitd98dbe2a2bec249847e789d0cb42eb5e7e93343d (patch)
tree539c4f2c823c322f1544ef237ccbdac4ab7c265a /scripts/qapi/parser.py
parent92fb92d3e9c67f83cbbca0e2b9ca2d88fefd6643 (diff)
downloadfocaccia-qemu-d98dbe2a2bec249847e789d0cb42eb5e7e93343d.tar.gz
focaccia-qemu-d98dbe2a2bec249847e789d0cb42eb5e7e93343d.zip
spapr_numa.c: split FORM1 code into helpers
The upcoming FORM2 NUMA affinity will support asymmetric NUMA topologies
and doesn't need be concerned with all the legacy support for older
pseries FORM1 guests.

We're also not going to calculate associativity domains based on numa
distance (via spapr_numa_define_associativity_domains) since the
distances will be written directly into new DT properties.

Let's split FORM1 code into its own functions to allow for easier
insertion of FORM2 logic later on.

Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <20210920174947.556324-2-danielhb413@gmail.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions