From Fedora Project Wiki
(Created page with '{{QA/Test_Case |description= |setup=Prepare a machine to support vt-d, e.g. Dell 755. |actions= # Start a VM using virt-manager. # Check device using lspci, here we will hotplug ...') |
(Modernize this case) |
||
Line 1: | Line 1: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description= | |description= | ||
|setup= | 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! | |||
|actions= | |actions= | ||
# Start a VM | |||
# | # Start with a shutoff VM. Open the VM details page. | ||
# | # Select 'Controller USB' and change to USB2. Click 'Apply' | ||
#: | # Start the VM | ||
# Add Hardware->USB Host Device | |||
# Choose the device you want to assign from the list, like: <code>009:002 SanDisk Extreme</code> | |||
# Click ''Finish'' | |||
# | # Verify that the guest shows up in 'lsusb' output in the guest. | ||
# | # Verify the device's functionality in the guest (this will be device specific) | ||
# Select the device in virt-manager, and click 'Remove'. | |||
# Verify the device again appears in the host, and is functional on the host. | |||
|results= | |results= | ||
No obvious errors occur. | |||
}} | }} | ||
[[Category:Virtualization | [[Category:Virtualization Test Cases]] |
Revision as of 23:40, 27 May 2013
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
- Start with a shutoff VM. Open the VM details page.
- Select 'Controller USB' and change to USB2. Click 'Apply'
- Start the VM
- Add Hardware->USB Host Device
- Choose the device you want to assign from the list, like:
009:002 SanDisk Extreme
- Click Finish
- Verify that the guest shows up in 'lsusb' output in the guest.
- Verify the device's functionality in the guest (this will be device specific)
- Select the device in virt-manager, and click 'Remove'.
- Verify the device again appears in the host, and is functional on the host.
Expected Results
No obvious errors occur.