direct-io.hg

changeset 8476:fbe82e680620

Vcpu-list's error message shows an unnecessary header.

Signed-off-by: Yoshinori Katase <y_katase@soft.fujitsu.com>
author emellor@leeni.uk.xensource.com
date Tue Jan 03 14:08:32 2006 +0000 (2006-01-03)
parents 09e752a1a04a
children 9bf5a3b24318
files tools/python/xen/xm/main.py
line diff
     1.1 --- a/tools/python/xen/xm/main.py	Tue Jan 03 14:07:43 2006 +0000
     1.2 +++ b/tools/python/xen/xm/main.py	Tue Jan 03 14:08:32 2006 +0000
     1.3 @@ -390,7 +390,6 @@ def xm_brief_list(doms):
     1.4  
     1.5  
     1.6  def xm_vcpu_list(args):
     1.7 -    print 'Name                              ID  VCPU  CPU  State  Time(s)  CPU Affinity'
     1.8  
     1.9      from xen.xend.XendClient import server
    1.10      if args:
    1.11 @@ -401,6 +400,8 @@ def xm_vcpu_list(args):
    1.12              lambda x: server.xend_domain_vcpuinfo(sxp.child_value(x, 'name')),
    1.13              doms)
    1.14  
    1.15 +    print 'Name                              ID  VCPU  CPU  State  Time(s)  CPU Affinity'
    1.16 +
    1.17      for dom in dominfo:
    1.18          def get_info(n):
    1.19              return sxp.child_value(dom, n)