Skip to content
Commit 90b125f4 authored by Vineeth Pillai's avatar Vineeth Pillai Committed by Wei Liu
Browse files

hv_utils: return error if host timesysnc update is stale



If for any reason, host timesync messages were not processed by
the guest, hv_ptp_gettime() returns a stale value and the
caller (clock_gettime, PTP ioctl etc) has no means to know this
now. Return an error so that the caller knows about this.

Signed-off-by: default avatarVineeth Pillai <viremana@linux.microsoft.com>
Reviewed-by: default avatarMichael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/20200821152523.99364-1-viremana@linux.microsoft.com
Signed-off-by: default avatarWei Liu <wei.liu@kernel.org>
parent b9d8cf2e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment