[PATCH] openvz: wire up more node information functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



in detail nodeGetCPUStats, nodeGetMemoryStats, nodeGetCellsFreeMemory
and nodeGetFreeMemory
---
 src/openvz/openvz_driver.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/openvz/openvz_driver.c b/src/openvz/openvz_driver.c
index 3b2ffea..41fd8e4 100644
--- a/src/openvz/openvz_driver.c
+++ b/src/openvz/openvz_driver.c
@@ -1704,6 +1704,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 */
-- 
1.7.9.5

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]