WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Add full flag to domain(domid), fixing xm list --long VM1.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 02 Nov 2006 22:10:09 +0000
Delivery-date: Thu, 02 Nov 2006 21:44:44 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Add full flag to domain(domid), fixing xm list --long VM1., Xen patchbot-unstable <=