search for: hard_limit_kb

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

2008 Nov 14
0
[PATCH] tools: use sysfs interface to balloon driver if present
...rent'' : ''info/current_kb'', + ''low-balloon'' : ''info/low_kb'', + ''high-balloon'' : ''info/high_kb'', + ''limit'' : ''info/hard_limit_kb'' } + + name = os.path.join(SYSFS_XEN_MEMORY, sysfiles[label]) + f = file(name, ''r'') + + val = f.read().strip() + if val.isdigit(): + return int(val) + return None + +def _linux_balloon_stat(label): + if os.access(PROC_XEN_BALLOON, os.F_OK): + return...