Bug 603867 - libvirt: VM startup fails trying to resolve 'usbX' format sysfs files
Summary: libvirt: VM startup fails trying to resolve 'usbX' format sysfs files
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt   
(Show other bugs)
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Cole Robinson
QA Contact: Virtualization Bugs
Depends On:
TreeView+ depends on / blocked
Reported: 2010-06-14 18:01 UTC by Cole Robinson
Modified: 2010-11-11 14:49 UTC (History)
5 users (show)

Fixed In Version: libvirt-0_8_1-11_el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-11-11 14:49:19 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Backport of upstream fix (1.13 KB, text/plain)
2010-06-25 16:31 UTC, Cole Robinson
no flags Details

Description Cole Robinson 2010-06-14 18:01:58 UTC
Some files under /sys/bus/usb/devices/ have the format 'usbX', where
X is the USB bus number. Libvirt doesn't properly parse these files when trying to resolve produce/vendor to bus/device info. When it can't parse, the guest won't start. See also Fedora bug https://bugzilla.redhat.com/show_bug.cgi?id=598272

Fixed upstream here, should be a simple backport:


Comment 1 RHEL Product and Program Management 2010-06-14 18:02:59 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for

Comment 2 Cole Robinson 2010-06-25 16:31:33 UTC
Created attachment 426927 [details]
Backport of upstream fix

Internal posting:


Comment 3 Dave Allan 2010-06-29 03:00:04 UTC
libvirt-0_8_1-11_el6 has been built in RHEL-6-candidate with the fix.


Comment 4 dyuan 2010-07-01 10:40:13 UTC
Verified PASSED with libvirt-0.8.1-13.el6.

VM start successfully with the following line in xml.
# virsh dumpxml demo
<hostdev mode='subsystem' type='usb' managed='yes'>
        <vendor id='0x1d6b'/>
        <product id='0x0002'/>
        <address bus='1' device='1'/>
      <alias name='hostdev0'/>


Comment 5 releng-rhel@redhat.com 2010-11-11 14:49:19 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.

Note You need to log in before you can comment on or make changes to this bug.