aboutsummaryrefslogtreecommitdiff
path: root/qmp.c
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2017-02-24 10:26:56 +0100
committerDavid Gibson <david@gibson.dropbear.id.au>2017-03-06 10:32:53 +1100
commit17b7c39e275ecacae1416bc164189d6ddd116c57 (patch)
tree3eca6b7a5e343d1f528a5d43e43ba40b8c754e71 /qmp.c
parent7ea6e0671754330510bcdde2e7f5b5f2db426472 (diff)
downloadqemu-17b7c39e275ecacae1416bc164189d6ddd116c57.zip
qemu-17b7c39e275ecacae1416bc164189d6ddd116c57.tar.gz
qemu-17b7c39e275ecacae1416bc164189d6ddd116c57.tar.bz2
spapr: ensure that all threads within core are on the same NUMA node
Threads within a core shouldn't be on different NUMA nodes, so if user has misconfgured command line, fail QEMU at start up to force user fix it. For now use the first thread on the core as source of core's node-id. Later when cpu-numa refactoring lands it will be switched to core's node-id from possible_cpus[]. This prevents the same problems as commit 20bb648d "spapr: Fix default NUMA node allocation for threads", but for the case of manually configured NUMA node mappings, instead of just the default case. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'qmp.c')
0 files changed, 0 insertions, 0 deletions