>>828878
I tried writing one but it got lost recently. There is a furfag who made a good video the only problem is if you need the ACS Patch or not since his video is old. I might make a jewtube or a vidme channel where I make a proper guide and have it be the standard.
To put it simply you have IOMMU Groups enabled, then use that grouping to grab certain hardware and give it to the vfio driver, and then add it to a VM. After that its like installing Windows on a normal computer. I use a program called Synergy that allows me to switch to each machine seamless with a single keyboard and mouse however I use a second mouse because for games its shit but the keyboard is fine. What I linked below is what I used, the optimization stuff I did was recent and isnt in those guides.
https://www.youtube.com/watch?v=dsDUtzMkxFk
https://queuecumber.gitlab.io/linux-acs-override/
https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF#Passing_VM_audio_to_host_via_PulseAudio
https://www.redips.net/linux/remove-password-vm-manager/
The CPU pinning and other shit is very dependent on what you have so if you dont know how to do it I wouldn't recommend it. I had to go to some faggy places to get some information but it was worth it.
This is how it looks on the virt-manager end with the PCI 01:00.0 and .1 being my video card with the 9:00.0 being the USB 3.0 PCI Card. The Virtual Disk you are looking at is the raw SSD I gave which has very little bottlenecking problems. The other VirtIO disk is the OS disk which is a .qcow2 file which has worse performance than a raw disk.