https://liucreator.gitlab.io/zh/posts/0x0b-single-gpu-passthrough/main/
中文版本
These are my steps to set up QEMU/KVM with GPU passthrough as of 2021 March,
it works for me as I tried many times on different systems.
You might need to change a few things, and feel free to ask me if you have any questions!
My current setup is on Ryzen CPU with Radeon GPU, and sorry my English is not the best.
My Specs:
- CPU: AMD Ryzen 3900x 12 cores
- GPU: MSI Radeon RX 560 4GT LP OC
- RAM: 32GB 3200Mhz dual channels
- OS: Arch Linux 5.11
- DE: KDE Plasma 5.21
Procedure:
- Setting up an basic KVM on linux without VFIO
- Libvirt Hooks and Scripts
- QEMU+Libvirt Configuration
- GPU passthrough
- some other things
Please considering of supporting me if you find my guides or videos helpful!
Credits:
- Arch Wiki PCI passthrough
- GitLab RisingPrismTV's script
- SubReddit r/VFIO