dom0/qvm-usb: changed output format for qvm-usb -l

This commit is contained in:
Alexandre Bezroutchko 2012-10-12 22:14:22 +02:00
parent b72db5cad8
commit 89b78d9426

View File

@ -120,7 +120,7 @@ def main():
attached_to = usb_check_attached(dev['xid'], dev['device'])
attached_to_str = ""
if attached_to:
attached_to_str = " (attached to '%s' as '%s')" % (attached_to['vm'], attached_to['frontend'])
attached_to_str = " (attached to %s:%s)" % (attached_to['vm'], attached_to['frontend'])
print "%s\t%s%s" % (dev['name'], dev['desc'], attached_to_str)
exit (0)