Re: [RFC PATCH v3 04/21] UAPI: x86: Move pvclock-abi to UAPI for x86 platforms

From: Paul Durrant
Date: Fri May 24 2024 - 09:14:57 EST


On 22/05/2024 01:16, David Woodhouse wrote:
From: Jack Allister <jalliste@xxxxxxxxxx>

KVM provides a new interface for performing a fixup/correction of the KVM
clock against the reference TSC. The KVM_[GS]ET_CLOCK_GUEST API requires a
pvclock_vcpu_time_info, as such the caller must know about this definition.

Move the definition to the UAPI folder so that it is exported to usermode
and also change the type definitions to use the standard for UAPI exports.

Signed-off-by: Jack Allister <jalliste@xxxxxxxxxx>
Signed-off-by: David Woodhouse <dwmw@xxxxxxxxxxxx>
---
arch/x86/include/{ => uapi}/asm/pvclock-abi.h | 24 +++++++++----------
1 file changed, 12 insertions(+), 12 deletions(-)
rename arch/x86/include/{ => uapi}/asm/pvclock-abi.h (83%)


Reviewed-by: Paul Durrant <paul@xxxxxxx>