QA:Testcase Virtualization Hotplug USB device to guest

From FedoraProject

Revision as of 23:40, 27 May 2013 by Crobinso (Talk | contribs)

Jump to: navigation, search

Contents

Description

Attach a physical USB device to your guest.

Setup

Functioning Fedora host and a VM of any OS. More VM OS and USB devices the merrier!

How to test

  1. Start with a shutoff VM. Open the VM details page.
  2. Select 'Controller USB' and change to USB2. Click 'Apply'
  3. Start the VM
  4. Add Hardware->USB Host Device
  5. Choose the device you want to assign from the list, like: 009:002 SanDisk Extreme
  6. Click Finish
  7. Verify that the guest shows up in 'lsusb' output in the guest.
  8. Verify the device's functionality in the guest (this will be device specific)
  9. Select the device in virt-manager, and click 'Remove'.
  10. Verify the device again appears in the host, and is functional on the host.

Expected Results

No obvious errors occur.