mirror of
https://github.com/PhyllomeOS/phyllomeos.git
synced 2024-12-22 13:05:17 +00:00
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
This commit is contained in:
parent
b90360ea63
commit
dece0f19cd
@ -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
|
%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
|
echo "options kvm_amd nested=1" >> /mnt/sysimage/etc/modprobe.d/kvm.conf # Add support for nested-virtualization
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user