About this Reference

The QNX Hypervisor for Safety 2.0 Virtual Device Developer's API Reference presents the QNX Hypervisor for Safety (QHS) 2.0 public API. It is intended for use by developers writing virtual devices (vdevs) for a QHS or other QNX hypervisor system.

This reference should be used in conjunction with the following documents:

As a convenience, the qvm public header files include the vdev.h header file, which includes all the header files for the vdev API.

Where relevant (e.g., vio.h), the QNX vdev API follows the VirtIO specifications. These are available from OASIS at oasis-open.org.

DANGER

The QNX virtual device toolkit does not automatically produce safety-certified virtual devices. It is your responsibility to develop your vdevs in an appropriate environment and to see them through safety certification.

If you require assistance, please contact your QNX technical support representative.

What's in this guide

The following table may help you find information in this guide quickly:

To find out about: See:
Safe use of the functions in this API Function Safety
The application binary interface (ABI) version of the vdev API Definitions in abi.h
Support routines for virtual character devices cdev.h
Firmware-related definitions firmware.h
Functions related to the guest's address space gasp.h
Manipulating a guest's address space guest.h
Hypervisor host PCI interface for vdevs hpci.h
Definitions for outpipe outpipe.h
The vdev API base types types.h
Miscellaneous utility functions in the vdev API utils.h
General support for virtual devices vdev-core.h
Support for VirtIO devices vio.h
Support for virtual PCI devices vpci.h
Support virtual watchdog devices wdog.h
Definitions for the virtual APIC bus x86_64/apic.h