Prerequisites
- You need an additional display card on the host (eg. 1 igpu + 1 dedicate gpu or 2 dedicate gpu).
- GPU pass-through is supported on the AMD64/Intel 64 architecture only.
Configuring the host
Verify the host environment
Verify that the host support is disabled by default. You need to enable it at boot time in the /etc/kernel/cmdline configuration file.
1) For Intel CPU add this line to file:
intel_iommu=on iommu=pt rd.driver.pre=vfio-pci
2) For AMD CPU add this line instead:
amd_iommu=on iommu=pt rd.driver.pre=vfio-pci
3) Finally, when you cat the file, you will see content like this:
# cat /etc/kernel/cmdline
root=/dev/nvme0n1p2 splash=silent swapaccount=1 systemd.show_status=1 mitigations=auto quiet security=selinux selinux=1 intel_iommu=on iommu=pt rd.driver.pre=vfio-pci
SOCIAL SHARE CARD GENERATOR