summaryrefslogtreecommitdiffstats
path: root/monitor.c
diff options
context:
space:
mode:
authorWanlong Gao2014-05-14 11:43:07 +0200
committerMichael S. Tsirkin2014-06-19 17:44:18 +0200
commit8c85901ed3cf2ede1ed5957e6e047d3719dceb4e (patch)
tree427889241bd212948564deccb9d913162c60cd62 /monitor.c
parentNUMA: check if the total numa memory size is equal to ram_size (diff)
downloadqemu-8c85901ed3cf2ede1ed5957e6e047d3719dceb4e.tar.gz
qemu-8c85901ed3cf2ede1ed5957e6e047d3719dceb4e.tar.xz
qemu-8c85901ed3cf2ede1ed5957e6e047d3719dceb4e.zip
NUMA: Add numa_info structure to contain numa nodes info
Add the numa_info structure to contain the numa nodes memory, VCPUs information and the future added numa nodes host memory policies. Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Andre Przywara <andre.przywara@amd.com> Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> [Fix hw/ppc/spapr.c - Paolo] Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Hu Tao <hutao@cn.fujitsu.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor.c b/monitor.c
index 2901187f5f..ca17e420a9 100644
--- a/monitor.c
+++ b/monitor.c
@@ -2011,7 +2011,7 @@ static void do_info_numa(Monitor *mon, const QDict *qdict)
}
monitor_printf(mon, "\n");
monitor_printf(mon, "node %d size: %" PRId64 " MB\n", i,
- node_mem[i] >> 20);
+ numa_info[i].node_mem >> 20);
}
}