]> Git Repo - qemu.git/commit - monitor.c
numa: make hmp 'info numa' fetch numa nodes from qmp_query_cpus() result
authorIgor Mammedov <[email protected]>
Tue, 30 May 2017 16:23:59 +0000 (18:23 +0200)
committerEduardo Habkost <[email protected]>
Mon, 5 Jun 2017 17:59:08 +0000 (14:59 -0300)
commitf75cd44de0ec20d72dc9eef5e6e48a8874c40727
tree9d0bf65fa76d48ab5df56c70ee924fe378b7800d
parentd41f3e750d2c06c613cb1b8db7724f0fbc0a2b14
numa: make hmp 'info numa' fetch numa nodes from qmp_query_cpus() result

HMP command 'info numa' is the last external user that access
CPUState::numa_node field directly. In order to move it to CPU
classes that actually use it, eliminate direct access and use
an alternative approach by using result of qmp_query_cpus(),
which provides topology properties CPU threads are associated
with (including node-id).

Signed-off-by: Igor Mammedov <[email protected]>
Message-Id: <1496161442[email protected]>
Signed-off-by: Eduardo Habkost <[email protected]>
monitor.c
This page took 0.023335 seconds and 4 git commands to generate.