From Fedora Project Wiki

Revision as of 09:54, 5 March 2012 by Hongqing (talk | contribs) (moved QA/TestCases/USB Virtualization to QA:Testcase USB Virtualization)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

A brief description of the functionality being tested.

Setup

  1. Host arch: x86_64, setup both x86_64 and i386 guests
  2. Power on host
  3. Start a virtual machine with default configuration

How to test

  1. Attach the USB device
  2. Run lsusb and determin which usb device you want guest to load
  3. Run virsh attach-device <domain> usb.xml
  4. You can find <domain> by running virsh list
  5. For example usb.xml is
<hostdev mode='subsystem' type='usb' managed='yes'>
     <source>
       <product id='0x5567'/>
       <vendor id='0x0781'/>
     </source>
</hostdev>
Note.png
Note
product id and vendor id can be found by running lsusb

Expected Results

  1. USB can be mount and work fine in virtual machine