Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions modules/virt-adding-kernel-arguments-enable-iommu.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,15 @@ spec:
# ...
----
** `metadata.labels.machineconfiguration.openshift.io/role` specifies that the new kernel argument is applied only to worker nodes.
** `metadata.name` specifies the ranking of this kernel argument (100) among the machine configs and its purpose. If you have an AMD CPU, specify the kernel argument as `amd_iommu=on`.
** `spec.kernelArguments` specifies the kernel argument as `intel_iommu` for an Intel CPU.
** `metadata.name` specifies the ranking of this kernel argument (100) among the machine configs and its purpose.
** `spec.kernelArguments` specifies the kernel argument as `intel_iommu=on` for an Intel CPU.
+
[NOTE]
====
Do not specify `amd_iommu=on`. That value is not valid for the AMD IOMMU driver. The kernel ignores it and logs `AMD-Vi: Unknown option - 'on'`.
On AMD CPUs, IOMMU is enabled by default when AMD-Vi is enabled in the BIOS. You do not need an `amd_iommu=` kernel argument unless you require a supported option such as `off` or `force_enable`.
For PCI passthrough, you can optionally add `iommu=pt` to reduce DMA overhead.
====

. Create the new `MachineConfig` object:
+
Expand Down