debuggers.hg

changeset 20679:4bb3933ab001

Fix bug in c/s 20332 "Add commands to hotplug usb devices to hvm guests"

Signed-off-by: James Song Wei <jsong@novell.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Dec 14 07:58:15 2009 +0000 (2009-12-14)
parents 40a598cb0e91
children 73ff2d056e36
files tools/python/xen/xend/server/SrvDomain.py
line diff
     1.1 --- a/tools/python/xen/xend/server/SrvDomain.py	Mon Dec 14 07:57:23 2009 +0000
     1.2 +++ b/tools/python/xen/xend/server/SrvDomain.py	Mon Dec 14 07:58:15 2009 +0000
     1.3 @@ -234,7 +234,7 @@ class SrvDomain(SrvDir):
     1.4   
     1.5      def op_usb_del(self, op, req):
     1.6          self.acceptCommand(req)
     1.7 -        return req.threadRequest(self.do_usb_add, op, req)
     1.8 +        return req.threadRequest(self.do_usb_del, op, req)
     1.9  
    1.10      def do_usb_del(self, _, req):
    1.11          return self.xd.domain_usb_add(self.dom.getName(), req)