How to passthrough multiple GPU in one Guest VM
I have a host that has 8 NVIDIA Tesla K80 GPUs. Whenever I launch a VM, I can passthrough 1 GPU for each VM. I wanted to passthrough more than 1 GPU to a guest VM, is that possible?
This is called "vGPUs"
I'm not entirely sure it works out of the box in XCP-ng due to some package license restriction with nvidia/citrix.
@olivierlambert thanks for the info. I tried the xe cli commands and tried adding another GPU in a VM that already has a GPU, but its not allowing me. I'm getting
Cannot create a virtual GPU that is incompatible with the existing types on the VM.. Seems if the only available vgpu-type is passthrough, you cannot add more than one gpu in that VM.
That because maybe we don't have the "right" package. I'm curious: can you test with Citrix Hypervisor?
I think Citrix will require me a license to do GPU passthrough.
You might get a free trial to play with it