This is my backup of qmeu hooks for running windows 10 under kvm with either a single GPU or a dedicated GPU for the VM. Single GPU scripts are based off of SomeOrdinaryGamers video, the others I just threw together fast.
NO!! This is sort of a template repo and a backup of scripts that work for me. I'll put below what you need to edit in order to get yours working on your machine.
This repo was tested with an AMD Ryzen 5 5600x and an EVGA RTX 2080 Super Black and an AMD RX 6800 XT running Arch
Sorta. My restart scripts did not properly reload my drivers so until I find a fix, I have it set to restart my entire system when the VM is killed. I recommend removing that line if you know how to properly fix it.
In each of the scripts I labeled each area with a * to mark what needs to be modified.
My personal guide of this can be found here