[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
The patchset makes virt-manager use <address> to distingush
multiple usb devices as follows:

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

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

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]