- Good starting point for setting up macOS under QEMU/KVM: https://github.com/kholia/OSX-KVM
- DSDT/SSDT patching: https://www.tonymacx86.com/threads/ssdt-gpu-graphics-card-in...
- AMD reset bug: https://www.reddit.com/r/VFIO/comments/5h351m/gpu_stuck_in_d...
- Kernel extension that can help with some GPU issues: https://github.com/acidanthera/WhateverGreen
The DSDT/SSDT patch was probably the trickiest thing. I've posted my particular patch here if you're interested: https://pastebin.com/ngvkVZYN
Also, a few of my other scripts/config: https://pastebin.com/9Nh5rheZ