# Re: \[PATCH 7/24\] ptp: ptp\_vmclock: Convert to ktime\_get\_snapshot\_id()

- From: David Woodhouse \<dwmw2@infradead.org\>
- Date: 2026-05-26 23:43:38 
- List: netdev
- Page: https://ratatoskr.run/netdev/2026/05/17033762
- Thread: https://ratatoskr.run/kvmarm/2026/05/17032577/t.md

```text
On Tue, 26 May 2026 19:14:03 +0200, Thomas Gleixner wrote:
> ktime_get_snapshot() is replaced by ktime_get_snapshot_id() which allows to
> request a particular CLOCK ID to be captured along with the clocksource
> counter.
>
> Convert vmclock over and use the new system_time_snapshot::sys field, which
> holds the system timestamp selected by the CLOCK ID argument.
>
> No functional change intended.
>
> Signed-off-by: Thomas Gleixner <tglx@kernel.org>

Reviewed-by: David Woodhouse <redacted>
Tested-by: David Woodhouse <redacted>

```

## Attachments

- [smime.p7s](https://ratatoskr.run/netdev/2026/05/17033762/attachment/0) (application/pkcs7-signature, 5069 bytes)
