qvm_guest_vmid()

Updated: October 28, 2024

Get the VMID

Synopsis:

#include <qvm/aarch64/vmid.h>
uint16_t qvm_guest_vmid(void)

Description:

This function allows a vdev to get the VMID of the guest so it can, for example, pass that VMID to another service.
Note: This function is available in QNX Hypervisor for Safety 2.2.7 or later.

Returns:

The VMID, as an unsigned 16-bit integer.