Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2019
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.62 KB | None | 0 0
  1. sudo dnf install @virtualization
  2.  
  3. sudo nano /etc/default/grub
  4.  
  5. Append to GRUB_CMDLINE_LINUX:
  6. iommu=1 amd_iommu=on rd.driver.pre=vfio-pci
  7.  
  8. dracut --add-drivers "vfio vfio-pci vfio_iommu_type1" -f
  9.  
  10. sudo nano /etc/modprobe.d/kvm.conf
  11.  
  12. Append:
  13. options vfio-pci ids=10de:1e87,10de:10f8,10de:1ad8,10de:1ad9
  14.  
  15. dracut --add-drivers "vfio vfio-pci vfio_iommu_type1" -f
  16.  
  17. grub2-mkconfig > /etc/grub2-efi.cfg
  18.  
  19. reboot
  20.  
  21. ./home/username/Documents/LS-IOMMU.sh
  22.  
  23. Start Virtual Machine Manager
  24. Create new VM
  25. Configure before installation
  26. Firmware -> UEFI
  27. Q35
  28.  
  29. Remove both video devices (QXL & Spice)
  30. add PCI devices (graphicscard)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement