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

[Xen-changelog] [xen-unstable] Add full flag to domain(domid), fixing xm list --long VM1.



# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Node ID 5165aa656363c2402be45930e9afb3039884fbd8
# Parent  201a824f82408fe8e4cd7c5aa1ddff59fed68ea8
Add full flag to domain(domid), fixing xm list --long VM1.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
 tools/python/xen/xend/server/XMLRPCServer.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 201a824f8240 -r 5165aa656363 
tools/python/xen/xend/server/XMLRPCServer.py
--- a/tools/python/xen/xend/server/XMLRPCServer.py      Wed Nov 01 13:50:02 
2006 +0000
+++ b/tools/python/xen/xend/server/XMLRPCServer.py      Wed Nov 01 15:41:35 
2006 +0000
@@ -49,9 +49,9 @@ def dispatch(domid, fn, args):
     info = lookup(domid)
     return getattr(info, fn)(*args)
 
-def domain(domid):
+def domain(domid, full = 0):
     info = lookup(domid)
-    return fixup_sxpr(info.sxpr())
+    return fixup_sxpr(info.sxpr(not full))
 
 def domains(detail=1, full = 0):
     if detail < 1:

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