Red Hat Bugzilla – Bug 1283708
USB Device passthrough should not be disabled when host doesn't support PCI passthrough
Last modified: 2016-02-18 06:19:31 EST
Description of problem:
The current check of host's device passthrough capability should only be applicable to PCI devices and not other types of passthrough (e.g: USB).
Version-Release number of selected component (if applicable): 3.6.0
How reproducible: 100%
Steps to Reproduce:
1. Have host which is not configured for PCI passthrough
2. Attach a USB device from this host to a VM
3. Try to run the VM
Vm fails to run because it fails to satisfy the HostDeviceFilterPolicyUnit.
Vm should run successfully.
oVirt 3.6.2 RC1 has been released for testing, moving to ON_QA
Verified using build:
1. Verify PCI passthrough is disabled at BIOS level (no Intel vt-d or AMD vi enabled).
2. Verify host IOMMU is disabled (cat /proc/cmdline).
3. Verify host device passthrough is disabled at: webadmin ==> hosts tab ==> general tab.
4. Attach USB device to VM (can be keyboard/mouse/flash drive etc.).
5. Run VM.
6. Verify USB device is attached to VM.
7. Try to run another VM with same device attached and verify VM cannot be run and rejected by webadmin with an appropriate message.
8. Power of VM and verify no errors/exception occurs (vdsm and engine logs).
Test case attached to external trackers.