From Fedora Project Wiki

(How to check the device is actually USB3)
(Update test case with latest virt-manager UI)
 
Line 15: Line 15:
     ...
     ...


* Make sure the VM is stopped. Edit the VM configuration like: <br><pre>virsh edit f18</pre>
* Make sure the VM is stopped. In virt-manager, navigate to the VM hardware page, change the 'Controller USB' model to USB3. Apply
* Remove all devices like <controller type='usb... and add the following: <br><pre><controller type='usb' model='nec-xhci'/></pre>
* Start the guest and log in.
* Save and exit. Start the guest, connect with virt-manager and log in to the guest.
* 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.
* Start the guest, log in. <code>lsusb -t</code> should show the device as USB3 (like above)
* Start the guest, log in. <code>lsusb -t</code> should show the device as USB3 (like above)
Line 23: Line 22:


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


[[Category:Virtualization Test Cases]]
[[Category:Virtualization Test Cases]]

Latest revision as of 21:25, 7 October 2013

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

  • Attach the USB3 device to your host. Make sure it is showing up as USB3 (the 5000M bit at the end):
   $ lsusb -t
   ...
   /:  Bus 09.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
        __ Port 2: Dev 4, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
   ...
  • Make sure the VM is stopped. In virt-manager, navigate to the VM hardware page, change the 'Controller USB' model to USB3. Apply
  • Start the guest and log in.
  • In the virt-manager hardware view, Add Hardware->USB Host Device, select your USB3 device to attach to the guest.
  • Start the guest, log in. lsusb -t should show the device as USB3 (like above)
  • Verify the device works as expected

Expected Results

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