Bug 1375893

Summary: [RFE] Automate configuration of host's boot parameters to support VFIO passthrough
Product: Red Hat Enterprise Virtualization Manager Reporter: Michal Skrivanek <michal.skrivanek>
Component: DocumentationAssignee: rhev-docs <rhev-docs>
Status: CLOSED DUPLICATE QA Contact: rhev-docs <rhev-docs>
Severity: medium Docs Contact:
Priority: high    
Version: 4.0.0CC: bugs, danken, fdeutsch, gklein, jniederm, juwu, lsurette, mavital, melewis, mgoldboi, michal.skrivanek, mpoledni, nsimsolo, rbalakri, srevivo, tjelinek, ycui, ykaul
Target Milestone: ovirt-4.0.5Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
The following kernel options are available: Hostdev passthrough & SR-IOV - Enables support for IOMMU in kernel. The option itself is *not* enough to enable whole hostdev and SR-IOV, one must consult documentation regarding bios setting and hardware support for these features. Roughly translates to intel_iommu (Intel) or amd_iommu (AMD) on kernel command line. Nested Virtualization - Enables support for nested virtualization. The option only configures the KVM module, to use nested virtualization the nestedvt hook must be installed (to propagate the vmx (Intel) and svm (AMD) cpu flags). Unsafe Interrupts - Enables hostdev passthrough on host without proper hardware protection for device assignment. This option should be left unchecked by default, and only considered if VM with hostdev passthrough fails to start and output of dmesg on the host contains " No interrupt remapping support. Use the module param "allow_unsafe_interrupts" to enable VFIO IOMMU support on this platform ". Only trusted guests should be run in this configuration[1] PCI Reallocation - Enables PCI reallocation, sometimes enabling SR-IOV devices that could not create VFs to do so. The root cause of the issue is kernel's inability to allocate enough MMIO space due to a limitation or BIOS issue. [1] http://vfio.blogspot.cz/2014/08/vfiovga-faq.html
Story Points: ---
Clone Of: 1301104 Environment:
Last Closed: 2016-09-21 22:56:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Docs RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1301104    
Bug Blocks:    

Description Michal Skrivanek 2016-09-14 08:04:47 UTC
Martin, would you please add appropriate descriptions for each item?

+++ This bug was initially created as a clone of Bug #1301104 +++

--- Additional comment from Michal Skrivanek on 2016-09-14 09:55:33 CEST ---

Hm, it seems documentation was not really updated with the new feature. Let me open a new doc bug for that as we need to update screenshots of Cluster dialog and add a bit more details about supportability of each kernel option

Comment 1 Martin Polednik 2016-09-14 12:49:58 UTC
Added a doctext with small, user-level (mostly) perspective of what each setting does and whether it requires additional packages/configuration.

Comment 3 Julie 2016-09-21 22:56:09 UTC
Tracking the updates for this feature in BZ#1372178.

*** This bug has been marked as a duplicate of bug 1372178 ***