我要评分
获取效率
正确性
完整性
易理解

Setting Boot Parameters

Enable the input/output memory management unit (IOMMU) pass-through mode so that VMs can directly access physical devices.

  1. Open the /etc/grub2-efi.cfg file.
    vim /etc/grub2-efi.cfg
  2. Press i to enter the insert mode and add the following content to the position shown in the following figure:
     iommu.passthrough=1

  3. Press Esc to exit the insert mode. Type :wq! and press Enter to save the file and exit.
  4. Restart the server for the settings to take effect.