Inquiry on Virtio Camera Device Support in Crosvm

67 views
Skip to first unread message

Veena Venkatesh

unread,
Mar 6, 2025, 12:19:36 PMMar 6
to crosv...@chromium.org
Hello Crosvm Developers,

I am working on integrating a Virtio Camera device with Crosvm in an Android VM using vhost-user over MMIO. Specifically, I am implementing Virtio Camera with DMA-BUF support and working with a MIPI camera.

Currently, I have been searching for an existing Virtio Camera device implementation within Crosvm but could not locate a file such as camera_device.rs. I wanted to clarify:

1. Is there any ongoing or past effort to implement Virtio Camera support in Crosvm?


2. If not, is there guidance or best practices for implementing a new Virtio device in Crosvm, particularly for handling DMA-BUF?


3. Are there recommended examples of vhost-user device backends that closely align with a Virtio Camera device?



I appreciate any pointers to relevant discussions, repositories, or documentation that might assist in this effort. Thank you!

Best regards,
Veena

João Pinto

unread,
Apr 4, 2025, 1:09:01 PMApr 4
to crosvm-dev, Veena Venkatesh
Hi Veena,

Potentially this Collabora Git repo can help: collabora / virtio-camera · GitLab (Dmitry Osipenko <dmitry....@collabora.com>

Thanks,
Joao

Reply all
Reply to author
Forward
0 new messages