Check if VT-D / IOMMU has been enabled in the BIOS/UEFI
问题 To check if Intel's VT-X or AMD's AMD-V is enabled in the BIOS/UEFI, I use: if systool -m kvm_amd -v &> /dev/null || systool -m kvm_intel -v &> /dev/null ; then echo "AMD-V / VT-X is enabled in the BIOS/UEFI." else echo "AMD-V / VT-X is not enabled in the BIOS/UEFI" fi I couldn't find a way to check if Intel's VT-D or AMD's IOMMU are enabled in the BIOS/UEFI. I need a way to detect if it is enabled or not without having the iommu kernel parameters set ( iommu=1 , amd_iommu=on , intel_iommu=on