|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-changelog
[Xen-changelog] Currently xm list --long only displays info about	the la
 
# 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
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread> |  
- [Xen-changelog] Currently xm list --long only displays info about	the last domain. The,
Xen patchbot -unstable <=
  
 |  
  
 | 
    | 
  
  
    |   | 
    |