API to request Guest VM to yield VCPU to a low priority VM.
Functions | |
| int32_t | NvHvYieldVcpu (uint32_t vm_id, uint32_t timeout_us) |
| API to request Guest VM to yield VCPU to a low priority VM. More... | |
Description of custom abilities
nvhv/yield_vcpu
Common privileges required for all NvHv VCPU-Yield APIs
| int32_t NvHvYieldVcpu | ( | uint32_t | vm_id, |
| uint32_t | timeout_us | ||
| ) |
API to request Guest VM to yield VCPU to a low priority VM.
| [in] | vm_id | VM ID for low priority VM for which VCPU would be yielded |
| [in] | timeout_us | Time for which the user is requesting to yield the VCPU to low priority VM The minimum value is 1 microsecond and maximum value is configured in device tree. (In QNX, the timeout value rounds up to the next millisecond due to limitation of ARM timer resolution) |
Usage considerations