[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Fix broken xm commands.



# HG changeset patch
# User emellor@ewan
# Node ID 1a4f8d6ddd1977f76bd30ce4ad5e1b29cfca1af1
# Parent  813bc65bde2ad72514942b5202673a5e40889a2d
Fix broken xm commands.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r 813bc65bde2a -r 1a4f8d6ddd19 tools/python/xen/xend/server/SrvDomain.py
--- a/tools/python/xen/xend/server/SrvDomain.py Tue Oct 11 09:30:13 2005
+++ b/tools/python/xen/xend/server/SrvDomain.py Tue Oct 11 09:32:03 2005
@@ -135,24 +135,24 @@
 
     def op_devices(self, op, req):
         return self.call(self.dom.getDeviceSxprs,
-                         [['deviceClass', 'str']],
+                         [['type', 'str']],
                          req)
 
     def op_device_create(self, op, req):
         return self.call(self.dom.device_create,
-                         [['dev_config', 'sxpr']],
+                         [['config', 'sxpr']],
                          req)
 
     def op_device_destroy(self, op, req):
         return self.call(self.dom.destroyDevice,
-                         [['deviceClass', 'str'],
-                          ['devid',       'int']],
+                         [['type', 'str'],
+                          ['dev',  'int']],
                          req)
                 
     def op_device_configure(self, op, req):
         return self.call(self.dom.device_configure,
-                         [['dev_config', 'sxpr'],
-                          ['devid',       'int']],
+                         [['config', 'sxpr'],
+                          ['dev',    'int']],
                          req)
 
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.