search for: _linux_balloon_stat

Displaying 2 results from an estimated 2 matches for "_linux_balloon_stat".

2008 Nov 14
0
[PATCH] tools: use sysfs interface to balloon driver if present
...lt;jeremy.fitzhardinge@citrix.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."""...
2010 Feb 18
2
backport upstream pygrub fixes to allow booting squeeze default install?
.../scripts") xend_autorestart = _get(_xend_autorestart) -pygrub_path = _get(_pygrub_path, "/usr/bin/pygrub") +pygrub_path = _get(_pygrub_path, xen.util.auxbin.pathTo("pygrub")) vif_script = _get(_vif_script, "vif-bridge") lookup_balloon_stat = _get(_balloon_stat, _linux_balloon_stat) If you agree with these changes then I think I have the necessary account on alioth to make the change, unless you would prefer to do so yourself, I can provide the patch to the package if necessary. Ian. -- Ian Campbell Democracy is a government where you can say what you think even if you do...