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

Sets the vTimer offset to a value that you provide.

Parameters

  • vcpu: The ID of the vCPU instance.
  • vtimer_offset: The new vTimer offset.

Return Value

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