root@dom0:~# xm usb-attach vm-test 0 1 1-7
Unexpected error: <class 'xen.util.vusb_util.UsbDeviceParseError'>
Traceback (most recent call last):
File "/usr/lib/xen-4.0/bin/xm", line 8, in <module>
main.main(sys.argv)
File "/usr/lib/xen-4.0/lib/python/xen/xm/main.py", line 3620, in main
_, rc = _run_cmd(cmd, cmd_name, args)
File "/usr/lib/xen-4.0/lib/python/xen/xm/main.py", line 3644, in _run_cmd
return True, cmd(args)
File "/usr/lib/xen-4.0/lib/python/xen/xm/main.py", line 2868, in xm_usb_attach
if vusb_util.bus_is_assigned(bus):
File "/usr/lib/xen-4.0/lib/python/xen/util/vusb_util.py", line 275, in bus_is_assigned
raise UsbDeviceParseError("Can't get assignment status: (%s)." % bus)
xen.util.vusb_util.UsbDeviceParseError: vusb: Error parsing USB device info: Can't get assignment status: (1-7).
root@dom0:~# uname -a
Linux dom0 2.6.32-5-xen-amd64 #1 SMP Tue Jun 14 12:46:30 UTC 2011 x86_64 GNU/Linux