Public bug reported:

With Trusty 14.04 LTS documentation suggests that when attaching a Host
USB device that

virsh nodedev-list --tree

can be used to gather the values required for the XML <address> element
such as:

    <hostdev mode='subsystem' type='usb' managed='yes'>
      <source>
        <vendor id='0x8564'/>
        <product id='0x1000'/>
        <address bus='2' device='6'/>
      </source>
      <alias name='hostdev0'/>
    </hostdev>


However, it does *not* report the device ID, which is required and critical.

$ lsusb
Bus 002 Device 006: ID 8564:1000


E.g: Shown by virt-manager, this is USB Bus 2, Device 6:

  +- pci_0000_00_1d_7
  |   |
  |   +- usb_usb2
  |       |
  |       +- usb_2_0_1_0
  |       +- usb_2_1
  |       |   |
  |       |   +- usb_2_1_1_0
  |       |     
  |       +- usb_2_3
  |       |   |
  |       |   +- usb_2_3_1_0
  |       |       |
  |       |       +- scsi_host10
  |       |           |
  |       |           +- scsi_target10_0_0
  |       |               |
  |       |               +- scsi_10_0_0_0
  |       |                   |
  |       |                   +- 
block_sdd_JetFlash_Transcend_16GB_436LWCXVLICG3QGJ_0_0
  |       |                   +- scsi_generic_sg4

** Affects: libvirt-bin (Ubuntu)
     Importance: Low
         Status: Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1489191

Title:
  virsh does not report USB device number

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt-bin/+bug/1489191/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to