Hi Laurent, On Montag, 11. Mai 2020 16:31:36 CEST Laurent Pinchart wrote: > > I don't think this would be the right level of abstraction. The V4L2 API > is way too low-level when it comes to camera paravirtualization (and may > not be the only API we'll have in the future). I thus recommend > virtualizing cameras with a higher-level API, more or less on top of > libcamera or the Android camera HAL (they both sit at the same level in > the camera stack). Anything lower than that won't be practical. >
I think the the main thing to do first would be to define the logic of such virtio-camera device and the set of mandatory features. Host-side API is a bit of a side topic. But libcamera fits the best though. Best regards, Dmitry.