]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libxl: implement per NUMA node free memory reporting
authorDario Faggioli <dario.faggioli@citrix.com>
Fri, 28 Jun 2013 14:32:52 +0000 (16:32 +0200)
committerJim Fehlig <jfehlig@suse.com>
Mon, 1 Jul 2013 23:14:57 +0000 (17:14 -0600)
commit4b9eec50fe2c23343b1672eaff4373cb978afbc6
treeb0f4abcea97d8a6e865d3ce32ad04b5da9340510
parentd79c9273b0724dfd39eaf13bef2953fcea5b8fa4
libxl: implement per NUMA node free memory reporting

By providing the implementation of nodeGetCellsFreeMemory for
the driver. This is all just a matter of properly formatting, in
a way that libvirt like, what Xen provides via libxl_get_numainfo().

[raistlin@Zhaman ~]$ sudo virsh --connect xen:/// freecell --all
    0:      25004 KiB
    1:     105848 KiB
--------------------
Total:     130852 KiB

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
src/libxl/libxl_driver.c