dom0/qvm-usb: bugfix

This commit is contained in:
Alexandre Bezroutchko 2012-10-12 23:51:44 +02:00
parent 9d77b3dd3c
commit 743d93d8f0

View File

@ -510,7 +510,6 @@ def usb_check_attached(xs_trans, backend_vm, device):
attached_dev = None
vms = xs.ls(xs_trans, '/local/domain/%d/backend/vusb' % backend_vm)
if vms is None:
xs.transaction_end(xs_trans)
return None
for vm in vms:
if not vm.isdigit():