mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
Vcpu-list's error message shows an unnecessary header.
Signed-off-by: Yoshinori Katase <y_katase@soft.fujitsu.com>
This commit is contained in:
1 parent
1989719e21
commit
c69c2efbcf
1 file changed
+2
-1
@@ -390,7 +390,6 @@ def xm_brief_list(doms):
|
||||
|
||||
|
||||
def xm_vcpu_list(args):
|
||||
print 'Name ID VCPU CPU State Time(s) CPU Affinity'
|
||||
|
||||
from xen.xend.XendClient import server
|
||||
if args:
|
||||
@@ -401,6 +400,8 @@ def xm_vcpu_list(args):
|
||||
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):
|
||||
return sxp.child_value(dom, n)
|
||||
|
||||