search for: proc_xen_balloon

Displaying 1 result from an estimated 1 matches for "proc_xen_balloon".

2008 Nov 14
0
[PATCH] tools: use sysfs interface to balloon driver if present
....com> diff -r 1944c39d0007 tools/python/xen/xend/osdep.py --- a/tools/python/xen/xend/osdep.py Fri Nov 14 09:57:33 2008 -0800 +++ b/tools/python/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 = {...