Devices

A QNX hypervisor provides guests with access to physical devices, including pass-through and shared devices, and virtual devices, including para-virtualized devices.

About device access

When you configure your QNX virtualized environment (the hypervisor, the qvm processes for the virtual machines, and the guests), you need to assign physical devices and virtual devices (vdevs) to the hypervisor and to the guests. To do this properly you need to know, not just if a device is a physical or virtual device, but also the type of physical or virtual device, because this determines:

Note:

Just as in a non-virtualized system the device driver in an OS must match the hardware device on the physical board, in a virtualized system the device driver in the guest must match the vdev.

For example, if you are using a vdev-pl011 vdev (configured as follows: vdev vdev-pl011 loc 0x1c090000 intr gic:37), you must tell your guest to use a PL011 device at location 0x1c090000 and interrupt 37.

You can't pass your guest instructions to use a UART device, say earlycon=msm_hsl_uart,0x75b0000, and expect it to find the PL011 device, any more than you could do that in a non-virtualized environment.

For information about configuring the hypervisor host, qvm processes, and devices, see the Configuration chapter.