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

[libvirt] Can't Pass Through USB Device To Ubuntu 9.05 Guest OS


I created Bug 504444 <https://bugzilla.redhat.com/show_bug.cgi?id=504444> which is partially quoted in this post:


Coding this xml:

<hostdev mode='subsystem' type='usb'>
          <vendor id='0x0403'/>
   <product id='0x6001'/>

should let my Ubuntu 9.04 guest have access to the device, which in this case
is a USB-to-Serial UART (based on an FTDI FT232RL chip.) However the guest does
not "see" the device or recognize it in any way. It does not show up in the
guest's /var/log/messages or in the output of lsusb. I would like the guest to
have access to this device.

This is what virsh seems to be seeing:

# virsh dumpxml Ubuntu9
<domain type='kvm'>
    <type arch='x86_64' machine='pc'>hvm</type>
    <boot dev='hd'/>
  <clock offset='utc'/>
    <disk type='file' device='cdrom'>
      <target dev='hdc' bus='ide'/>
    <disk type='file' device='disk'>
      <source file='/var/lib/libvirt/images/Ubuntu9.img'/>
      <target dev='vda' bus='virtio'/>
    <interface type='network'>
      <mac address='54:52:00:74:32:2f'/>
      <source network='default'/>
      <model type='virtio'/>
    <serial type='pty'>
      <target port='0'/>
    <console type='pty'>
      <target port='0'/>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='-1' autoport='yes'/>
    <sound model='es1370'/>
    <hostdev mode='subsystem' type='usb' managed='no'>
        <vendor id='0x0403'/>
        <product id='0x6001'/>

Version-Release number of selected component (if applicable):



Any suggestions for fixing this problem? Is there a clear procedure for getting a Fedora virtualization guest to recognize a USB device?

Thanks for your help!

Bob Cochran

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