mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
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:
1 parent
069ccbe5a5
commit
dee1ddf4e8
1 file changed
+3
-2
@@ -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:
|
||||
|
||||