Intel Acceleration Stack Quick Start Guide for Intel® Programmable Acceleration Card with Intel® Arria® 10 GX FPGA

ID 683633
Date 12/04/2020
Document Table of Contents

8.1. Updating Settings Required for VFs

To use SR-IOV and pass a VF to a virtual machine, you must enable the Intel IOMMU driver on the host. Complete the following steps to enable the Intel IOMMU driver:

  1. Add intel_iommu=on to the kernel command line by updating the GRUB configuration.
  2. GRUB reads its configuration from either the /boot/grub2/grub.cfg file on traditional BIOS-based machines or from the /boot/efi/EFI/redhat/grub.cfg file on UEFI machines. Depending on your system, execute one of the instructions below:

    => BIOS based machine:

    grub2-mkconfig -o /boot/grub2/grub.cfg

    => UEFI based machine

    grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg
  3. Restart to apply the new GRUB configuration file.
  4. To verify the GRUB update, run the following command:
    cat /proc/cmdline
    The sample output below shows intel_iommu=on on the kernel command line.

    Sample output:

    root=/dev/mapper/cl_<server-name>-root ro intel_iommu=on 
    crashkernel=auto<server-name>/root<server-name>/swap rhgb quiet