zhouqt/autotest — comment on commit b4b3bda9ba21704ff018ffbc2490a22f1d06a0fd
File: client/virt/virt_vm.py line 221
By lmr:

Perhaps put an indication of what vm it is, like:

raise VMUSBControllerPortFullError(self.name)

+class VMUSBControllerPortFullError(VMUSBControllerError):
+ def __init__(self, name):
+ VMUSBControllerError.__init__(self, name)
+ self.name = name
+ def __str__(self):
+ return ("No available USB Controller port left for VM %s" % self.name)