[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] ptp: Add vDSO-style vmclock support
From: |
Michael S. Tsirkin |
Subject: |
Re: [PATCH] ptp: Add vDSO-style vmclock support |
Date: |
Thu, 25 Jul 2024 01:54:10 -0400 |
On Wed, Jul 24, 2024 at 06:16:37PM +0100, David Woodhouse wrote:
> From: David Woodhouse <dwmw@amazon.co.uk>
>
> The vmclock "device" provides a shared memory region with precision clock
> information. By using shared memory, it is safe across Live Migration.
>
> Like the KVM PTP clock, this can convert TSC-based cross timestamps into
> KVM clock values. Unlike the KVM PTP clock, it does so only when such is
> actually helpful.
>
> The memory region of the device is also exposed to userspace so it can be
> read or memory mapped by application which need reliable notification of
> clock disruptions.
>
> Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
one other thing worth mentioning is that this design can't work
with confidential computing setups. By comparison, mapping e.g. a
range in a PCI BAR would work for these setups.
Is there a reason this functionality is not interesting for
confidential VMs?
--
MST
- Re: [PATCH] ptp: Add vDSO-style vmclock support, (continued)
- Re: [PATCH] ptp: Add vDSO-style vmclock support, Jonathan Cameron, 2024/07/26
- Re: [PATCH] ptp: Add vDSO-style vmclock support, David Woodhouse, 2024/07/26
- Re: [PATCH] ptp: Add vDSO-style vmclock support, Michael S. Tsirkin, 2024/07/28
- Re: [PATCH] ptp: Add vDSO-style vmclock support, David Woodhouse, 2024/07/28
- Re: [PATCH] ptp: Add vDSO-style vmclock support, Michael S. Tsirkin, 2024/07/28
- Re: [PATCH] ptp: Add vDSO-style vmclock support, David Woodhouse, 2024/07/29
Re: [PATCH] ptp: Add vDSO-style vmclock support,
Michael S. Tsirkin <=
Re: [PATCH] ptp: Add vDSO-style vmclock support, Paolo Abeni, 2024/07/25