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 09:36:26 +0000 (09:36 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 14 Dec 2009 09:36:26 +0000 (09:36 +0000)
Signed-off-by: James Song Wei <jsong@novell.com>
tools/python/xen/xend/server/SrvDomain.py

index 120b22476fe13ca5365c673a1412bcc5fdfc36fa..77df314321d69a387040f10c023bdf8b877ecce1 100644 (file)
@@ -237,7 +237,7 @@ class SrvDomain(SrvDir):
         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)