diff options
| author | Igor Mammedov <imammedo@redhat.com> | 2017-05-30 18:23:59 +0200 |
|---|---|---|
| committer | Eduardo Habkost <ehabkost@redhat.com> | 2017-06-05 14:59:08 -0300 |
| commit | f75cd44de0ec20d72dc9eef5e6e48a8874c40727 (patch) | |
| tree | 9d0bf65fa76d48ab5df56c70ee924fe378b7800d /scripts/simpletrace.py | |
| parent | d41f3e750d2c06c613cb1b8db7724f0fbc0a2b14 (diff) | |
| download | focaccia-qemu-f75cd44de0ec20d72dc9eef5e6e48a8874c40727.tar.gz focaccia-qemu-f75cd44de0ec20d72dc9eef5e6e48a8874c40727.zip | |
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 'scripts/simpletrace.py')
0 files changed, 0 insertions, 0 deletions