|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] The attached patch fixes the xm list command, which very
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 3229cda2d6f1f8ddf0601389be473dd6ad064b0e
# Parent 2caa8e1e211140942e46a301d778a49f1473e645
The attached patch fixes the xm list command, which very
recently stopped working if security was enabled.
xm list fails if security is enabled because of a single
additional "%" character in a print.
Signed-off-by: Reiner Sailer <sailer@xxxxxxxxxxxxxx>
diff -r 2caa8e1e2111 -r 3229cda2d6f1 tools/python/xen/xm/main.py
--- a/tools/python/xen/xm/main.py Wed Aug 10 21:55:36 2005
+++ b/tools/python/xen/xm/main.py Thu Aug 11 08:55:47 2005
@@ -265,7 +265,7 @@
print 'Name Id Mem(MB) CPU VCPU(s) State Time(s)'
for dominfo in domsinfo:
if dominfo.has_key("ssidref1"):
- print ("%(name)-16s %(dom)3d %(mem)7d %(cpu)3s %(vcpus)5d
%(state)5s %(cpu_time)7.1f %s:%(ssidref2)02x/p:%(ssidref1)02x" % dominfo)
+ print ("%(name)-16s %(dom)3d %(mem)7d %(cpu)3s %(vcpus)5d
%(state)5s %(cpu_time)7.1f s:%(ssidref2)02x/p:%(ssidref1)02x" % dominfo)
else:
print ("%(name)-16s %(dom)3d %(mem)7d %(cpu)3s %(vcpus)5d
%(state)5s %(cpu_time)7.1f" % dominfo)
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] The attached patch fixes the xm list command, which very,
Xen patchbot -unstable <=
|
|
|
|
|