vmsilo/TODO.md

1 KiB

TODO

Expose camera device through vhost-user media

virtio-media exposes v4l device through virtio. There is no vhost-user allocation for it but should be simple to implement. This would avoid the need for USB passthrough to use a camera for meetings. Implement without directly exposing the v4l device to the guest, instead emulate a v4l device in userspace and a regular v4l client for the host side, copying the v4l buffers to the vhost SHM buffer.

Design ready, implementation should be easy but virtio-media kernel module has not been upstreamed to linux, so we'd have to build it out of tree.

Get OpenGL (virgl) and Vulkan (venus) working

Probably needs zwp_linux_dmabuf_v1 wayland extension working. Some work done on wayland-proxy-virtwl dmabuf branch, but it doesn't work and it seems like too much hassle, since dmabuf would have to be selectively enabled due to the larger attack surface from guest-mapped GPU memory and GL/vulkan drawing calls processed by the host GPU driver. Wayland with shmem is plenty fast for everything I need to do.