GPU Virtualization
-
Hi,
I have attached an NVIDIA GPU to my host and completed the initial configuration successfully. The GPU is now visible in Xen Orchestra / XenCenter.
Currently, the GPU is fully assigned (passthrough) to a single virtual machine. However, my requirement is to share or virtualize the same GPU across multiple VMs.
I would like to know:
Is it possible to virtualize or share an NVIDIA GPU among multiple VMs in a Xen/XCP-ng environment?
If yes, what techniques or technologies are available to achieve this (e.g., vGPU, SR-IOV, mediated devices, etc.)?What are the prerequisites and limitations (supported GPU models, drivers, licensing requirements)?
Any guidance or best-practice recommendations would be highly appreciated.
-
Hi,
It is indeed possible. See https://xcp-ng.org/forum/topic/8342/gpu-support-and-nvidia-grid-vgpu/33 for more info.