PCI Passthrough System Configuration Part 1
>> YOUR LINK HERE: ___ http://youtube.com/watch?v=3yhwJxWSqXI
PCI Passthrough Explained! I go over the System Configuration with verification steps in this series of videos. This video goes over enabling IOMMU, Changing kernel for VFIO, and Whitelisting QEMU for your system. • Timestamps: • 0:30 Overview and Explaining Steps with distribution and hardware differences • 5:00 Step 1- Enabling IOMMU • 6:37 Step 2 - Finding Device IDs and creating VFIO Passthrough kernel • 12:28 Step 3 - Apparmor Setup • My Recommend Graphics Card • AMD RX 570 - https://amzn.to/2Fn6kfA • Cheat Sheet • *NVIDIA Disclaimer*: Extra steps needed when VM is created in Part 2 • *Intel Disclaimer*: Steps shown are on an AMD CPU, make sure you sub out amd for intel in Part 1. • Add the following to /etc/default/grub • Check for line --- GRUB_CMDLINE_LINUX_DEFAULT= quiet • Add -- iommu=1 amd_iommu=on (Sub amd to intel depending on CPU) • $ sudo update-grub • Reboot! • Verify IOMMU is enabled • $ dmesg | grep IOMMU • Lets Find the Card to passthrough • $ lspci -nn | grep -iP VGA|audio • Setup VFIO with Device numbers/id from above VIDEO AND AUDIO! • $ sudo nano /etc/initramfs-tools/modules • Add the following • softdep amdgpu pre: vfio vfio_pci • vfio • vfio_iommu_type1 • vfio_virqfd • options vfio_pci ids=1002:67df,1002:aaf0 • vfio_pci ids=1002:67df,1002:aaf0 • vfio_pci • amdgpu • $ sudo nano /etc/modules • Add the following: • vfio • vfio_iommu_type1 • vfio_pci ids=1002:67df,1002:aaf0 • $ sudo nano /etc/modprobe.d/amdgpu.conf • softdep amdgpu pre: vfio vfio_pci • $ sudo nano /etc/modprobe.d/vfio_pci.conf • options vfio_pci ids=1002:67df,1002:aaf0 • lspci -vnn | grep -iP vga|amdgpu|nvidia|nouveau|vfio-pci • Avoid BSODs on New Windows 10 Installs • $ sudo nano /etc/modprobe.d/kvm.conf • options kvm ignore_msrs=1 • options kvm report_ignored_msrs=0 • Fix Apparmor restrictions • $ sudo nano /etc/apparmor.d/abstractions/libvirt-qemu • -Modify- • for usb access • /dev/bus/usb/** rw, • /etc/udev/udev.conf r, • /sys/bus/ r, • /sys/class/ r, • /run/udev/data/* rw, • -Append- • Looking Glass • /dev/shm/looking-glass rw, • $ sudo systemctl restart apparmor . • ►► Digital Downloads ➜ https://www.cttstore.com • ►► Patreon ➜ / christitustech • ►► Reddit ➜ / christitustech • ►► Titus Tech Talk ➜ / titustechtalk • ►► Twitch ➜ / christitustech
#############################
