Required components
To use the camera-sharing framework in a QNX Hypervisor system, your guest and host images must contain certain components, and you must add the virtio-video-camera vdev to the guest's VM.
Host components
You must have the following components on your host:
- the module implementing the camera vdev, vdev-virtio-video-camera.so. This file must be included in the shared objects list of your hypervisor host buildfile.
- the virtio-video-camera vdev must be specified in the configuration file for each VM
(i.e., qvm process) that will host a guest that wants to use this vdev.
For information on how to configure this vdev, see
vdev virtio-video-camera
. - the path to the configuration file (*.qvmconf) for each VM. This path must be included in your hypervisor host buildfile.
- a sensor configuration file (e.g., /etc/system/config/sensor.conf) containing your configuration for any cameras that you want to make available to guest applications. The path to this file must be included in your hypervisor host buildfile.
- the Camera library and Sensor service (which are part of the Sensor Framework middleware).
These components must be included in your hypervisor host buildfile.
For information about installing Sensor Framework on your development host (so you can then add it to your host image), see the Release Notes.
- a graphics configuration file (e.g., graphics.conf) containing your Screen configuration for the host. This file must be included in the host buildfile. The Screen Graphics Subsystem is included in any hypervisor host BSP and is therefore included in the default image.
For general information on how to configure your hypervisor host, see the
Configuration
section of the QNX Hypervisor User's Guide.
Guest components
Because the virtio-video-camera vdev is a para-virtualized device, the guest must have a camera driver that complies with the VirtIO-Video message standard to communicate with the vdev.
Page updated:
