# Query each of the hosts.
# XXX will the output of 'xm info' always be parseable YAML?
results = bcast('info')
- return max((int(o['free_memory']), s) for (s, o) in results)[1]
+ return max((int(o['max_free_memory']), s) for (s, o) in results)[1]
def main(argv):
if len(argv) < 3: