pub unsafe extern "C" fn hv_vcpu_get_vtimer_offset(
    vcpu: hv_vcpu_t,
    vtimer_offset: *mut u64
) -> hv_return_t
Expand description

Returns the vTimer offset for the vCPU ID you specify.

Parameters

  • vcpu: The ID of the vCPU instance.
  • vtimer_offset: A pointer to vTimer offset; the Hypervisor writes to this value on success.

Return Value

HV_SUCCESS if the operation was successful, otherwise an error code specified in hv_return_t.