Function devices::virtio::media::create_virtio_media_v4l2_proxy_device
source · pub fn create_virtio_media_v4l2_proxy_device<P: AsRef<Path>>(
features: u64,
device_path: P
) -> Result<Box<dyn VirtioDevice>>
Expand description
Create a proxy device for a host V4L2 device.
Since V4L2 is a Linux-specific API, this is only available on Linux targets.