Required components

To use the sensor-sharing framework in a QNX Hypervisor system, your guest and host images must contain certain components, and you must add the virtio-scmi vdev to the guest's VM.

Host components

You must have the following components on your host:

  • the module implementing the SCMI vdev, vdev-virtio-scmi.so. This file must be included in the shared objects list of your hypervisor host buildfile.
  • the virtio-scmi 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-scmi.
  • 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 sensors that you want to make available to guest applications. The path to this file must be included in your hypervisor host buildfile.
  • the Sensor 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.

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-scmi vdev is a para-virtualized device, the guest must have a driver that complies with the SCMI message standard to communicate with the vdev. The versions of Android supported for this virtualization frameworks release come with the IIO SCMI kernel driver.

For information about drivers for other guest types, contact your QNX Sales team.

Page updated: