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

[Xen-changelog] Vcpu-list's error message shows an unnecessary header.



# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID fbe82e680620ea60a20dac585c812a06ebd43782
# Parent  09e752a1a04a1786b0b9d05113eab30da7b5c903
Vcpu-list's error message shows an unnecessary header.

Signed-off-by: Yoshinori Katase <y_katase@xxxxxxxxxxxxxxxx>

diff -r 09e752a1a04a -r fbe82e680620 tools/python/xen/xm/main.py
--- a/tools/python/xen/xm/main.py       Tue Jan  3 14:07:43 2006
+++ b/tools/python/xen/xm/main.py       Tue Jan  3 14:08:32 2006
@@ -390,7 +390,6 @@
 
 
 def xm_vcpu_list(args):
-    print 'Name                              ID  VCPU  CPU  State  Time(s)  
CPU Affinity'
 
     from xen.xend.XendClient import server
     if args:
@@ -400,6 +399,8 @@
         dominfo = map(
             lambda x: server.xend_domain_vcpuinfo(sxp.child_value(x, 'name')),
             doms)
+
+    print 'Name                              ID  VCPU  CPU  State  Time(s)  
CPU Affinity'
 
     for dom in dominfo:
         def get_info(n):

_______________________________________________
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®.