Fix bug in c/s 20332 "Add commands to hotplug usb devices to hvm guests"
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 14 Dec 2009 07:58:15 +0000 (07:58 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 14 Dec 2009 07:58:15 +0000 (07:58 +0000)
Signed-off-by: James Song Wei <jsong@novell.com>
tools/python/xen/xend/server/SrvDomain.py

index 3d9868f984a617ad5cc5ed806d38fbc769e979ac..120b22476fe13ca5365c673a1412bcc5fdfc36fa 100644 (file)
@@ -234,7 +234,7 @@ 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)