From: Keir Fraser Date: Mon, 14 Dec 2009 07:58:15 +0000 (+0000) Subject: Fix bug in c/s 20332 "Add commands to hotplug usb devices to hvm guests" X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~12909 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=30acac4606a327e94fc119cffa014aea584b0ea6;p=xen.git Fix bug in c/s 20332 "Add commands to hotplug usb devices to hvm guests" Signed-off-by: James Song Wei --- diff --git a/tools/python/xen/xend/server/SrvDomain.py b/tools/python/xen/xend/server/SrvDomain.py index 3d9868f984..120b22476f 100644 --- a/tools/python/xen/xend/server/SrvDomain.py +++ b/tools/python/xen/xend/server/SrvDomain.py @@ -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)