search for: sysfs_xen_memory

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

2008 Nov 14
0
[PATCH] tools: use sysfs interface to balloon driver if present
...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 = { ''current'' : ''Current allo...