QA:Testcase Virtualization USB3 Device Passthrough

From FedoraProject

Revision as of 02:27, 30 October 2012 by Crobinso (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Description

Set your guest up with a USB3 controller and passthrough a USB3 device to your guest.

Setup

A functioning F18 VM, a host with USB3 ports and a physical USB3 device.

How to test

  1. Make sure the VM is stopped. Edit the VM configuration like:
    virsh edit f18
  2. Remove all devices like <controller type='usb... and add the following:
    <controller type='usb' model='nec-xhci'/>
  3. Save and exit. Start the guest, connect with virt-manager and log in to the guest.
  4. In the virt-manager hardware view, Add Hardware->USB Host Device, select your USB3 device to attach to the guest.

FIXME how to verify it's seen as USB3.0? FIXME what are expected speed increases? lsusb, then lsusb --verbose -s 001:002 cd /run/media/$user/dev ; dd if=/dev/zero of=./test.out count=2M (1G of data)

Expected Results

No obvious errors occur. USB device is detected as USB3 in the VM, functions correctly, speed increases?