Bug 553068 - USB devices do not pass thru to guest VM
Summary: USB devices do not pass thru to guest VM
Keywords:
Status: CLOSED DUPLICATE of bug 542450
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-manager
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Cole Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-07 00:50 UTC by Paul Lambert
Modified: 2010-01-07 14:28 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-01-07 14:28:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Paul Lambert 2010-01-07 00:50:38 UTC
Description of problem:
When connecting USB disks to the FE-12 32_X64 host neither a FE-12 or Windows guest see the USB disks.

Version-Release number of selected component (if applicable):
host kernel.x86_64   2.6.31.9-174.fc12 

How reproducible: Everytime


Steps to Reproduce:
1. Launch Virt Manager
2. Delete all USB devices
3. Add back in USB devices
4. Connect USB disks to host hardware
5. Unmount USB devices from host
6. Launch guest VM
7. Examine system for connected USB devices
  
Actual results:
USB devices are not passing thru to guest

Expected results:
Previosuly on FE-11 the VM guest was mapping USB drives

Additional info:
Fedora guest configuration file.  (Name states FE-11 but it has been upgraded to FE-12)
<domain type='kvm'>
  <name>Fedora-11-Home</name>
  <uuid>714133c3-eda0-eeb8-632c-bd37c7e66ddd</uuid>
  <memory>786432</memory>
  <currentMemory>786432</currentMemory>
  <vcpu>2</vcpu>
  <os>
    <type arch='x86_64' machine='pc-0.11'>hvm</type>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/bin/qemu-kvm</emulator>
    <disk type='block' device='cdrom'>
      <driver name='qemu'/>
      <target dev='hdc' bus='ide'/>
      <readonly/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw'/>
      <source file='/var/lib/libvirt/images/Fedora-11-Home.img'/>
      <target dev='hda' bus='ide'/>
    </disk>
    <interface type='network'>
      <mac address='52:54:00:21:2f:88'/>
      <source network='default'/>
      <model type='virtio'/>
    </interface>
    <serial type='pty'>
      <source path='/dev/pts/0'/>
      <target port='0'/>
    </serial>
    <console type='pty' tty='/dev/pts/0'>
      <source path='/dev/pts/0'/>
      <target port='0'/>
    </console>
    <input type='tablet' bus='usb'/>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='-1' autoport='yes' keymap='en-us'/>
    <sound model='es1370'/>
    <video>
      <model type='cirrus' vram='9216' heads='1'/>
    </video>
    <hostdev mode='subsystem' type='usb' managed='yes'>
      <source>
        <vendor id='0x1d6b'/>
        <product id='0x0002'/>
      </source>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='yes'>
      <source>
        <vendor id='0x13fd'/>
        <product id='0x1340'/>
      </source>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='yes'>
      <source>
        <vendor id='0x1d6b'/>
        <product id='0x0002'/>
      </source>
    </hostdev>
  </devices>
</domain>


Windows XP configuration file
<domain type='kvm'>
  <name>Windows-XP-SP3-Home-2003</name>
  <uuid>ee3bc9fe-a724-45b5-b675-11251f5c453f</uuid>
  <memory>786432</memory>
  <currentMemory>786432</currentMemory>
  <vcpu>2</vcpu>
  <os>
    <type arch='i686' machine='pc-0.11'>hvm</type>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
  </features>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/bin/qemu-kvm</emulator>
    <disk type='file' device='disk'>
      <source file='/var/lib/libvirt/images/Windows-XP-SP3-Home-2003.img'/>
      <target dev='hda' bus='ide'/>
    </disk>
    <disk type='block' device='cdrom'>
      <driver name='qemu'/>
      <target dev='hdc' bus='ide'/>
      <readonly/>
    </disk>
    <interface type='network'>
      <mac address='52:54:00:51:15:4a'/>
      <source network='default'/>
      <model type='rtl8139'/>
    </interface>
    <serial type='pty'>
      <target port='0'/>
    </serial>
    <console type='pty'>
      <target port='0'/>
    </console>
    <input type='tablet' bus='usb'/>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='-1' autoport='yes'/>
    <sound model='es1370'/>
    <video>
      <model type='cirrus' vram='9216' heads='1'/>
    </video>
    <hostdev mode='subsystem' type='usb' managed='yes'>
      <source>
        <vendor id='0x13fd'/>
        <product id='0x1340'/>
      </source>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='yes'>
      <source>
        <vendor id='0x1d6b'/>
        <product id='0x0002'/>
      </source>
    </hostdev>
  </devices>
</domain>

Comment 1 Cole Robinson 2010-01-07 14:28:24 UTC

*** This bug has been marked as a duplicate of bug 542450 ***


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