ia64/xen-unstable

changeset 7317:1a4f8d6ddd19

Fix broken xm commands.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@ewan
date Tue Oct 11 10:32:03 2005 +0100 (2005-10-11)
parents 813bc65bde2a
children 90f4f4dc3f62
files tools/python/xen/xend/server/SrvDomain.py
line diff
     1.1 --- a/tools/python/xen/xend/server/SrvDomain.py	Tue Oct 11 10:30:13 2005 +0100
     1.2 +++ b/tools/python/xen/xend/server/SrvDomain.py	Tue Oct 11 10:32:03 2005 +0100
     1.3 @@ -135,24 +135,24 @@ class SrvDomain(SrvDir):
     1.4  
     1.5      def op_devices(self, op, req):
     1.6          return self.call(self.dom.getDeviceSxprs,
     1.7 -                         [['deviceClass', 'str']],
     1.8 +                         [['type', 'str']],
     1.9                           req)
    1.10  
    1.11      def op_device_create(self, op, req):
    1.12          return self.call(self.dom.device_create,
    1.13 -                         [['dev_config', 'sxpr']],
    1.14 +                         [['config', 'sxpr']],
    1.15                           req)
    1.16  
    1.17      def op_device_destroy(self, op, req):
    1.18          return self.call(self.dom.destroyDevice,
    1.19 -                         [['deviceClass', 'str'],
    1.20 -                          ['devid',       'int']],
    1.21 +                         [['type', 'str'],
    1.22 +                          ['dev',  'int']],
    1.23                           req)
    1.24                  
    1.25      def op_device_configure(self, op, req):
    1.26          return self.call(self.dom.device_configure,
    1.27 -                         [['dev_config', 'sxpr'],
    1.28 -                          ['devid',       'int']],
    1.29 +                         [['config', 'sxpr'],
    1.30 +                          ['dev',    'int']],
    1.31                           req)
    1.32  
    1.33