QA:Testcase Virtualization USB3 Device Passthrough

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(Create page, needs some info though)
 
m (Some formatting tweaks)
Line 13: Line 13:
 
# In the virt-manager hardware view, Add Hardware->USB Host Device, select your USB3 device to attach to the guest.
 
# 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 how to verify it's seen as USB3.0?<br>
FIXME what are expected speed increases?
+
FIXME what are expected speed increases?<br>
lsusb, then lsusb --verbose -s 001:002
+
lsusb, then lsusb --verbose -s 001:002<br>
cd /run/media/$user/dev ; dd if=/dev/zero of=./test.out count=2M  (1G of data)
+
cd /run/media/$user/dev ; dd if=/dev/zero of=./test.out count=2M  (1G of data)<br>
  
 
|results=
 
|results=

Revision as of 02:28, 30 October 2012

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?