[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Currently xm list --long only displays info about the last domain. The



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID e03ffa8839abbfc59f6916f9d81c7b689f78e1a9
# Parent  719841477514b7cf0496244ef72d1adff72e7deb
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@xxxxxxxxxx>

diff -r 719841477514 -r e03ffa8839ab tools/python/xen/xm/main.py
--- a/tools/python/xen/xm/main.py       Sun Aug 14 09:06:32 2005
+++ b/tools/python/xen/xm/main.py       Sun Aug 14 09:07:56 2005
@@ -221,8 +221,9 @@
         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:

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.