From dece0f19cdcf837882e11d6ea5aa1abe3d803cd1 Mon Sep 17 00:00:00 2001 From: lukas Date: Tue, 23 May 2023 23:17:02 +0200 Subject: [PATCH] remove amd_iommu on AMD, iommu groups are enabled by default if the bios detects them https://wiki.archlinux.org/title/PCI_passthrough_via_OVMF --- dishes/desktop-hypervisor-amdcpu.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dishes/desktop-hypervisor-amdcpu.cfg b/dishes/desktop-hypervisor-amdcpu.cfg index dc559aa..2396132 100644 --- a/dishes/desktop-hypervisor-amdcpu.cfg +++ b/dishes/desktop-hypervisor-amdcpu.cfg @@ -213,7 +213,7 @@ chmod +x /mnt/sysimage/usr/local/bin/virtualization-tweaks-root-needed.sh %post --nochroot --logfile=/mnt/sysimage/opt/base-hypervisor-amdcpu.log -sed -i 's/\(quiet\)/\1 amd_iommu=on iommu=pt rd.driver.pre=vfio-pci/i' /mnt/sysimage/etc/default/grub # Load kernel modules in GRUB. +sed -i 's/\(quiet\)/\1 iommu=pt rd.driver.pre=vfio-pci/i' /mnt/sysimage/etc/default/grub # Load kernel modules in GRUB. echo "options kvm_amd nested=1" >> /mnt/sysimage/etc/modprobe.d/kvm.conf # Add support for nested-virtualization