]> git.proxmox.com Git - mirror_qemu.git/commit - numa.c
numa: make 'info numa' take into account hotplugged memory
authorzhanghailiang <zhang.zhanghailiang@huawei.com>
Tue, 4 Nov 2014 11:49:30 +0000 (19:49 +0800)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 11 Nov 2014 05:50:58 +0000 (08:50 +0300)
commit5b009e400809523e71f1b72bdaa2b681e2a5b1c7
treebf88c2f67db1d2d8ffd16ceaaf5fdb62b4db1a09
parent7912d04be6322b16cfece6b698361ae6ed036ba9
numa: make 'info numa' take into account hotplugged memory

When do memory hotplug, if there is numa node, we should add
the memory size to the corresponding node memory size.

It affects the result of hmp command "info numa".

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
include/sysemu/sysemu.h
monitor.c
numa.c