Am 19.03.2015 um 18:09 schrieb Igor Mammedov: > Current default round-robin way of distributing VCPUs among > NUMA nodes might be wrong in case on multi-core/threads > CPUs. Making guests confused wrt topology where cores from > the same socket are on different nodes. > > Allow a machine to override default mapping by providing > MachineClass->cpu_index_to_socket_id()
MachineClass::cpu_index_to_socket_id() please - can be fixed when applying. > callback which would allow it group VCPUs from a socket > on the same NUMA node. > > Signed-off-by: Igor Mammedov <imamm...@redhat.com> > --- > v3: > - split out numa/machine change into a separate patch > --- > include/hw/boards.h | 5 +++++ > include/sysemu/numa.h | 3 ++- > numa.c | 18 +++++++++++++----- > vl.c | 2 +- > 4 files changed, 21 insertions(+), 7 deletions(-) -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton; HRB 21284 (AG Nürnberg)