]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
openvz: wire up more node information functions
authorGuido Günther <agx@sigxcpu.org>
Sat, 14 Apr 2012 20:17:48 +0000 (22:17 +0200)
committerGuido Günther <agx@sigxcpu.org>
Mon, 16 Apr 2012 06:58:02 +0000 (08:58 +0200)
in detail nodeGetCPUStats, nodeGetMemoryStats, nodeGetCellsFreeMemory
and nodeGetFreeMemory

src/openvz/openvz_driver.c

index be306401ea0614f34949edc8b2cea0cf66ac4730..9d7897f16d8c6e5013da05a5c67b3d20347ad0a7 100644 (file)
@@ -1681,6 +1681,10 @@ static virDriver openvzDriver = {
     .version = openvzGetVersion, /* 0.5.0 */
     .getMaxVcpus = openvzGetMaxVCPUs, /* 0.4.6 */
     .nodeGetInfo = nodeGetInfo, /* 0.3.2 */
+    .nodeGetCPUStats = nodeGetCPUStats, /* 0.9.11 */
+    .nodeGetMemoryStats = nodeGetMemoryStats, /* 0.9.11 */
+    .nodeGetCellsFreeMemory = nodeGetCellsFreeMemory, /* 0.9.11 */
+    .nodeGetFreeMemory = nodeGetFreeMemory, /* 0.9.11 */
     .getCapabilities = openvzGetCapabilities, /* 0.4.6 */
     .listDomains = openvzListDomains, /* 0.3.1 */
     .numOfDomains = openvzNumDomains, /* 0.3.1 */