]> git.ipfire.org Git - thirdparty/qemu.git/commit
numa: Report expected initiator
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 7 Jul 2021 13:40:29 +0000 (15:40 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Tue, 13 Jul 2021 13:21:01 +0000 (09:21 -0400)
commitf74d339c86d4460f1d7a644e965170c03518a737
treebe2bd72bb96709090a44bb634899b0c1ea11fbf1
parent760746ac533dd770a56340b1376e7b3fb1693562
numa: Report expected initiator

When setting up NUMA with HMAT enabled there's a check performed
in machine_set_cpu_numa_node() that reports an error when a NUMA
node has a CPU but the node's initiator is not itself. The error
message reported contains only the expected value and not the
actual value (which is different because an error is being
reported). Report both values in the error message.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Pankaj Gupta <pankaj.gupta@ionos.com>
Message-Id: <ebdf871551ea995bafa7a858899a26aa9bc153d3.1625662776.git.mprivozn@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/core/machine.c