mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
Add full flag to domain(domid), fixing xm list --long VM1.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
1 parent
cbdc70f049
commit
3c2c455c3b
1 file changed
+2
-2
@@ -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:
|
||||
|
||||