"host doesn't support passthrough of host PCI devices" Displayed During NIC Passthrough Configuration
Symptom
The error message "host doesn't support passthrough of host PCI devices" is displayed when SR-IOV NIC passthrough is configured for a VM.
Key Process and Cause Analysis
The system memory management unit (SMMU) or input/output memory management unit (IOMMU) must be enabled for the VM to configure NIC passthrough.
Conclusion and Solution
- Open the grub2.cfg file:
vim /etc/grub.cfg
- Add the following content:
iommu.passthrough=1

- Press Esc, type :wq!, and press Enter to save the file and exit.
- Restart the server for the configuration to take effect.
Parent topic: VM