Getting the host components

The components you will need to build a QNX Hypervisor 2.0 system are available from the QNX Software Center.

Assuming that you have QNX SDP 7.0 already installed on your system (see Supported build environments in this chapter), to build a hypervisor host, you must download the following from the QNX Software Center:

When you download these packages, the QNX Software Center will place them in your QNX SDP 7.0 root directory (e.g., ~/qnx700/).

Note: You don't need the guest BSPs to build only the hypervisor. You can download them now, though, or later, when you are ready to build your QNX guests (see Building the guests).

Download the HHBSP

The HHBSP board-agnostic framework (or BSP wrapper), is available from the QNX Software Center, as shown in the figure below.

Figure 1. HHBSP in the QNX Software Center.

If you want to use the HHBSP framework to build a QNX Hypervisor system:

  1. Download the HHBSP from the QNX Software Center. HHBSP archives are named according to the following pattern:

    BSP_hypervisor-host_br-mainline_be-700_SVNrev_JBNbuild

    where rev is the revision number, and build is the build number.

  2. Unpack the HHBSP archive to your workspace; for example, ~/qnx700/bsp/).

For information about the contents and structure of the HHBSP, see The HHBSP.

Download the QNX Hypervisor product

The QNX Hypervisor package includes the components (e.g., libmod_qvm.a) you need to build a hypervisor. It is available from the QNX Software Center, as shown in the figure below.

Figure 2. A QNX Hypervisor product package in the QNX Software Center.

To get the QNX Hypervisor:

  1. Download the QNX Hypervisor product package from the QNX Software Center.

Assuming that you don't change the default installation location, the QNX Software Center will install the QNX Hypervisor product to that location; for example, ~/qnx700/target/qnx7/ (Linux and macOS) or C:\Users\userid\qnx700 (Windows).

Note: If you are using QOS 2.0, you must also download the appropriate virtualization module variant (libmod_qvm-qos_capable.a). It is available from the QNX Software Center.

Download the board-specific host BSP

Whichever method you choose to build you hypervisor system, you need the board-specific BSP for your target board. These are available from the QNX Software Center. The image below shows the package for the Renesas R-Car H3 BSP.

Figure 3. A board-specific BSP in the QNX Software Center.

To get a board-specifc BSP:

  1. From the QNX Software Center, download the appropriate BSP just as you would if you were building a non-virtualized system.
  2. Unpack the BSP and place it in the images/host_bsp/ directory (if you are using the HHBSP with default BSP locations), or in another location that you will set the BOARD_SPECIFIC_BSP_LOCATION variable to reference, either through the command line or by editing the configure.mk configuration file (see Specify the component locations in this chapter).