Displaying 1 result from an estimated 1 matches for "_linux_balloon_stat_proc".
2008 Nov 14
0
[PATCH] tools: use sysfs interface to balloon driver if present
.../xen/xend/osdep.py Fri Nov 14 12:26:51 2008 -0800
@@ -38,7 +38,10 @@
"SunOS": "vif-vnic"
}
-def _linux_balloon_stat(label):
+PROC_XEN_BALLOON = ''/proc/xen/balloon''
+SYSFS_XEN_MEMORY = ''/sys/devices/system/xen_memory/xen_memory0''
+
+def _linux_balloon_stat_proc(label):
"""Returns the value for the named label, or None if an error occurs."""
xend2linux_labels = { ''current'' : ''Current allocation'',
@@ -47,7 +50,6 @@
''high-balloon'' :...