12–SR-IOV Configuration
Configuring SR-IOV on Linux
220
AH0054602-00 J
Figure 12-14. Add New Virtual Hardware
15. Power on the VM, and then issue the following command:
check lspci -vv|grep -I ether
16. Install the drivers for the adapters detected in the VM. Use the latest drivers
available from your vendor for your host OS (do not use inbox drivers). The
same driver version must be installed on the host and the VM.
17. As needed, add more VFs in the VM.
Enabling IOMMU for SR-IOV in UEFI-based Linux OS
Installations
Follow the appropriate procedure for your Linux OS.
To enable IOMMU for SR-IOV on Red Hat 6.
x
:
In the
/boot/efi/EFI/redhat/grub.conf
file, locate the kernel line, and
then add the
intel_iommu=on
boot parameter.
To enable IOMMU for SR-IOV on Red Hat 7.
x
:
1.
In the
/etc/default/grub
file, locate
GRUB_CMDLINE_LINUX
, and then
add the
intel_iommu=on
boot parameter.
2.
To update the grub configuration file, issue the following command:
GRUB2-MKCONFIG -O /BOOT/EFI/EFI/REDHAT/GRUB.CFG
NOTE
For AMD systems, replace
intel_iommu=on
with
amd_iommu=on
.