3 ms·
Can you pass a MIG device into a KVM VM? The team we worked with didn't believe it was possible (they suggested we switch to VMWare); the MIG system interface g
by tptacek 11mo ago
Can you pass a MIG device into a KVM VM? The team we worked with didn't believe it was possible (they suggested we switch to VMWare); the MIG system interface gives you a UUID, not a PCI BDF.
- moondev 11mo agoKubevirt has some examples passing a vpgu into kvm https://kubevirt.io/user-guide/compute/host-devices/ https://kubevirt.io/user-guide/compute/host-devices/
- tptacek 11mo agoRight, vGPUs are explicitly set up to generate BDF addresses that can be passed through (but require host driver support; they're essentially paravirtualized). I'm asking about MIG.
- namibj 11mo agohttps://docs.nvidia.com/datacenter/tesla/mig-user-guide/supported-configurations.html https://docs.nvidia.com/datacenter/tesla/mig-user-guide/supp... says GPU passhtrough is supported on MIG...
- my123 11mo agoThere's a MIG vGPU mode usable for this
- tptacek 11mo agoHave you used it? How does it work? How do you drive it? We tried a lot of different things. Is it not paravirtualized, the way vGPUs are?
- my123 11mo agoIt works with SR-IOV instead of mdev afaik Still needs some host SW to drive it but actually does static partitioning IIRC it's usable through using the MIG-marked vGPU types