This includes a few subtasks:
- add minigbm bindings
- add virglrenderer bindings
- implement virtio gpu display support
- implement virtio gpu 3D support
- implement virtio-wayland bridge for sending dmabufs allocated on virtio-gpu
GPUs can then be hotplugged to LXD containers with:
lxc config device add <container-name> <device-name> gpu
which would pass all gpus into the container or
lxc config device add <container-name> <device-name> gpu id=<idx>
where <idx> refers to the card you want.
Last time I did VM work virtual-gpu still meant that device nodes were present in the VM at which point you can simply hotplug the virtual GPU into containers as well and I already had people asking. So this is enablement.
Comment 1 by christia...@gmail.com
, Apr 26 2018