ia64/xen-unstable

changeset 5207:3ff5bda9d8dd

bitkeeper revision 1.1596 (429b3fa2RgeJZgQIRrT4oHa-PKg4zg)

Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/smh22/xen-unstable.bk
author smh22@firebug.cl.cam.ac.uk
date Mon May 30 16:30:26 2005 +0000 (2005-05-30)
parents ed4deaf4a0cc 2e85c7134cfd
children 84ecb1a32456
files tools/python/xen/xm/main.py
line diff
     1.1 --- a/tools/python/xen/xm/main.py	Mon May 30 16:04:00 2005 +0000
     1.2 +++ b/tools/python/xen/xm/main.py	Mon May 30 16:30:26 2005 +0000
     1.3 @@ -800,7 +800,7 @@ class ProgVifList(Prog):
     1.4      def main(self, args):
     1.5          if len(args) != 2: self.err("%s: Invalid argument(s)" % args[0])
     1.6          dom = args[1]
     1.7 -        for x in server.xend_domain_vifs(dom):
     1.8 +        for x in server.xend_domain_devices(dom, 'vif'):
     1.9              sxp.show(x)
    1.10              print
    1.11  
    1.12 @@ -818,7 +818,7 @@ class ProgVbdList(Prog):
    1.13      def main(self, args):
    1.14          if len(args) != 2: self.err("%s: Invalid argument(s)" % args[0])
    1.15          dom = args[1]
    1.16 -        for x in server.xend_domain_vbds(dom):
    1.17 +        for x in server.xend_domain_devices(dom, 'vbd'):
    1.18              sxp.show(x)
    1.19              print
    1.20  
    1.21 @@ -893,7 +893,7 @@ information. This is visible in 'xm vbd-
    1.22          if len(args) != 3: self.err("%s: Invalid argument(s)" % args[0])
    1.23          dom = args[1]
    1.24          dev = args[2]
    1.25 -        server.xend_domain_device_destroy(dom, "vbd", dev)
    1.26 +        server.xend_domain_device_destroy(dom, 'vbd', dev)
    1.27  
    1.28  xm.prog(ProgVbdDestroy)
    1.29