Comment by theYipster
23 days ago
Btw, this feature is now available in v0.2.x! vm-curator supports single-gpu passthrough (tested locally,) and multi-gpu pass-through via looking-glass (experimental: needs testing.)
single-gpu-passthrough relies on a script (run outside the app) to disconnect the GPU from the current X.org or Wayland session and then to attach it to the running VM. When the VM is shut down, the script runs this process in reverse. This means you can only run one VM at a time with your main display and peripherals, and while you're running that VM, you can't access your host with your display and peripherals (you can always SSH into it while the VM is running.)
This is the common process for getting single-GPU-passthrough to work. vm-curator helps prepare the system and generates the scripts automatically.
multi-gpu-passthrough is designed to run with looking-glass, but it can also support physical KVM switching if the user prefers.
No comments yet
Contribute on Hacker News ↗