mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
Fix bug in c/s 20332 "Add commands to hotplug usb devices to hvm guests"
Signed-off-by: James Song Wei <jsong@novell.com>
This commit is contained in:
1 parent
beba190a01
commit
30acac4606
1 file changed
+1
-1
@@ -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)
|
||||
|
||||