mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +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
b8a087fb41
commit
37f8a59c7c
1 file changed
+1
-1
@@ -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)
|
||||
|
||||