[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[virt-tools-list] [PATCH 0/2] bug fix about attaching usb devices from same vendors



Resolve: https://bugzilla.redhat.com/show_bug.cgi?id=820303

When there are multiple usb devices being attached with same
vendorId and productId, virt-manager failed to distinguish
them.
The patchset makes virt-manager use <address> to distingush
multiple usb devices as follows:

  <hostdev mode='subsystem' type='usb' managed='yes'>
    <source>
      <address bus='5' device='19'/>
    </source>
  </hostdev>

When there is unique usb device, the xml is like:
  <hostdev mode="subsystem" type="usb" managed="yes">
    <source>
      <vendor id="0x15e1"/>
      <product id="0x2007"/>
    </source>
  </hostdev>

This is fix only for virt-manager. About virtinst, patch will be
submitted later.

Guannan Ren(2)
 [PATCH 1/2] addhardware: store device type in host-device treeview
 [PATCH 2/2] addhardware: use bus,device to distingush usb products

 virtManager/addhardware.py    | 25 +++++++++++++++++++++++--
 virtManager/connection.py     | 20 ++++++++++++++++++++
 virtinst/VirtualHostDevice.py |  5 ++---
 3 files changed, 45 insertions(+), 5 deletions(-)




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]