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

[Xen-changelog] [xen-3.4-testing] Fix bug in c/s 20332 "Add commands to hotplug usb devices to hvm guests"



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1260783776 0
# Node ID 426d72df7a1047e4c438bdbd085b041deda26f2f
# Parent  e10af233db1e0ac9e1dc6a56eb51f8247b93ec4a
Fix bug in c/s 20332 "Add commands to hotplug usb devices to hvm guests"

Signed-off-by: James Song Wei <jsong@xxxxxxxxxx>
xen-unstable changeset:   20633:4bb3933ab001
xen-unstable changeset:   20641:92d0cfcff6dd
xen-unstable date:        Mon Dec 14 09:36:26 2009 +0000
---
 tools/python/xen/xend/server/SrvDomain.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r e10af233db1e -r 426d72df7a10 tools/python/xen/xend/server/SrvDomain.py
--- a/tools/python/xen/xend/server/SrvDomain.py Mon Dec 14 09:42:09 2009 +0000
+++ b/tools/python/xen/xend/server/SrvDomain.py Mon Dec 14 09:42:56 2009 +0000
@@ -233,10 +233,10 @@ class SrvDomain(SrvDir):
  
     def op_usb_del(self, op, req):
         self.acceptCommand(req)
-        return req.threadRequest(self.do_usb_add, op, req)
+        return req.threadRequest(self.do_usb_del, op, req)
 
     def do_usb_del(self, _, req):
-        return self.xd.domain_usb_add(self.dom.getName(), req)
+        return self.xd.domain_usb_del(self.dom.getName(), req)
 
     def render_POST(self, req):
         return self.perform(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®.