Building QNX guests

Just like QNX OS systems built to run directly on hardware, a QNX OS system built to run as a guest in a QNX hypervisor environment uses a BSP, which supplies the architecture-specific components.

In most cases, building a QNX guest requires only building a bootable image, as you would for a non-virtualized environment.

Note:
When building QNX guests:
  • Remember that the VM in which a guest will run must match the guest's expectations: architecture, board-specifics, memory and CPUs, devices, etc. (see Assembling and configuring VMs in the Configuration chapter).
  • Be sure to use the architecture-specific guest BSP for your guest's OS version (e.g., QNX OS 8.0) and your target board's architecture, not the board-specific BSP for your target platform.

When you install QNX Hypervisor, the guest BSPs for all supported architectures are included in the installation, so your development host will have all of the components needed to build the QNX guest.

To modify and build the guest, after you have set up your build environment on your machine:

  1. Make the necessary changes to your guest OS. For instance, if you add pass-through devices to your guest and these devices require drivers from the board-specific BSP, copy these drivers into the appropriate locations in the guest BSP's prebuilt/ directory.
  2. From the guest BSP's root directory, run make. This uses the default buildfile to generate the guest IFS (for example, images/guest-1/qnx800-guest-1.build).

When the guest build succeeds, you can include the guest IFS in your hypervisor host system and transfer it to your target.

Page updated: