Currently xm list --long only displays info about the last domain. The

attached patch fixes this so it displays info about each domain.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2005-08-14 09:07:56 +00:00
1 parent 069ccbe5a5
commit dee1ddf4e8
1 file changed
+3 -2
+3 -2
View File
@@ -221,8 +221,9 @@ def xm_list(args):
domsinfo.append(parse_doms_info(info))
if use_long:
# this actually seems like a bad idea, as it just dumps sexp out
PrettyPrint.prettyprint(info)
for dom in doms:
info = server.xend_domain(dom)
PrettyPrint.prettyprint(info)
elif show_vcpus:
xm_show_vcpus(domsinfo)
else:
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.