This program will perform a automatic gpu passthrough on arch systems.
It works by utilising two scripts. The first scripts (auto mode) will add a script as a hook within the kernel configuration (mkinitcpio.conf) so that any additional GPU's on the system will be used. This excludes the current GPU that is being used for the main system.
The second script (manual mode) adds a script as a hook within the kernel configuration. However, it displays all GPU devices on the system, and allows the user to select that GPU for passthrough.
The program comes with two seperate config files for grub, one for intel CPUs, and the other for AMD CPU's. THe program will autodetect the type of vendor used, then change the configuration depending on this vendor.
feel free to commit to the project, eventually i want this program to setup a whole KVM/looking glass windows machine seamlessesly for users, maybe make windows as a secondary option part of a distro by default.