mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-06-27 09:45:00 +02:00
9a4c8325cc
New PVE host tool that enables IOMMU for PCI(e) passthrough: - Detects the CPU vendor and applies the matching kernel parameters (intel_iommu=on / amd_iommu=on plus iommu=pt). - Supports both boot configurations: GRUB (/etc/default/grub + update-grub) and proxmox-boot-tool managed systemd-boot (/etc/kernel/cmdline + proxmox-boot-tool refresh). - Idempotent: only missing parameters are appended and a timestamped backup of the boot config is created before editing. - Loads the vfio modules at boot (vfio_virqfd omitted, merged into the core since kernel 6.2). - Guards for root, supported PVE 8.x/9.x and bare metal; reports current IOMMU state and prints verification commands.