ChangeSet 1.1593.1.1, 2005/05/30 17:30:21+01:00, smh22@xxxxxxxxxxxxxxxxxxxx
partial fix for vbd-list and vif-list
main.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff -Nru a/tools/python/xen/xm/main.py b/tools/python/xen/xm/main.py
--- a/tools/python/xen/xm/main.py 2005-05-30 13:03:11 -04:00
+++ b/tools/python/xen/xm/main.py 2005-05-30 13:03:11 -04:00
@@ -800,7 +800,7 @@
def main(self, args):
if len(args) != 2: self.err("%s: Invalid argument(s)" % args[0])
dom = args[1]
- for x in server.xend_domain_vifs(dom):
+ for x in server.xend_domain_devices(dom, 'vif'):
sxp.show(x)
print
@@ -818,7 +818,7 @@
def main(self, args):
if len(args) != 2: self.err("%s: Invalid argument(s)" % args[0])
dom = args[1]
- for x in server.xend_domain_vbds(dom):
+ for x in server.xend_domain_devices(dom, 'vbd'):
sxp.show(x)
print
@@ -893,7 +893,7 @@
if len(args) != 3: self.err("%s: Invalid argument(s)" % args[0])
dom = args[1]
dev = args[2]
- server.xend_domain_device_destroy(dom, "vbd", dev)
+ server.xend_domain_device_destroy(dom, 'vbd', dev)
xm.prog(ProgVbdDestroy)
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|