diff options
author | Vineeth Pillai <viremana@linux.microsoft.com> | 2020-08-21 18:25:23 +0300 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2020-08-24 17:48:37 +0300 |
commit | 90b125f4cd2697f949f5877df723a0b710693dd0 (patch) | |
tree | 2b831d9cc5f3428b0adf3951fbcb325b79b4f185 /drivers/hv/channel_mgmt.c | |
parent | b9d8cf2eb3ceecdee3434b87763492aee9e28845 (diff) | |
download | linux-90b125f4cd2697f949f5877df723a0b710693dd0.tar.xz |
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: Vineeth Pillai <viremana@linux.microsoft.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/20200821152523.99364-1-viremana@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'drivers/hv/channel_mgmt.c')
0 files changed, 0 insertions, 0 deletions