WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix broken xm commands., Xen patchbot -unstable <=