Files
ProxmoxVE/tools/pve
MickLesk 9a4c8325cc Add iommu-setup tool for PCI(e) passthrough preparation
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.
2026-06-26 21:43:56 +02:00
..
2026-03-27 14:09:48 +01:00