aboutsummaryrefslogtreecommitdiff
path: root/hmp.h
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2017-05-30 18:23:59 +0200
committerEduardo Habkost <ehabkost@redhat.com>2017-06-05 14:59:08 -0300
commitf75cd44de0ec20d72dc9eef5e6e48a8874c40727 (patch)
tree9d0bf65fa76d48ab5df56c70ee924fe378b7800d /hmp.h
parentd41f3e750d2c06c613cb1b8db7724f0fbc0a2b14 (diff)
downloadqemu-f75cd44de0ec20d72dc9eef5e6e48a8874c40727.zip
qemu-f75cd44de0ec20d72dc9eef5e6e48a8874c40727.tar.gz
qemu-f75cd44de0ec20d72dc9eef5e6e48a8874c40727.tar.bz2
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 <imammedo@redhat.com> Message-Id: <1496161442-96665-5-git-send-email-imammedo@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hmp.h')
0 files changed, 0 insertions, 0 deletions