In this video, I demonstrate configuring your BIOS and host operating system for passing your graphics card into a VM for gaming level performance using VFIO/KVM/QEMU/libvirt
# My Links #
Part 0 for the series: https://youtu.be/fFz44XivxWI
Next (final) video: https://youtu.be/1Gwra5mABSQ
# Commands #
lspci -nnk
sudo gedit /etc/sysconfig/grub
sudo grub2-mkconfig -o /etc/grub2.cfg
sudo gedit /etc/dracut.conf.d/
sudo dracut -f --kver `uname -r`
mkdir ~/.config/autostart
cp /usr/share/applications/virt-manager.desktop ~/.config/autostart
which virt-manager
gedit ~/.config/autostart/virt-manager.desktop
sudo gedit /etc/sudoers.d/virt-manager
lsmod | grep kvm
dmesg | grep -i IOMMU
cat /proc/cmdline
# External Links #
Most of the info in this video game from here: http://vfio.blogspot.com/2015/05/vfio-gpu-how-to-series-part-3-host.html
# Corrections #
Instead of adding sudo to the "virt-manager.desktop" file and adding a new sudo rule, you can give yourself passwordless permission to run virt-manager by adding yourself to the libvirt group with this command "sudo usermod -aG libvirt [username]". A much simpler solution. Thanks @SolTheCleric!
The text on the screen at 0:12 is supposed to read rd.driver.pre=vfio-pci not rd.driver.pre=vfio.pci. This is correct later in the video
Let me know in the comments if you think of anything!