Re: [PATCH 1/4] KVM: x86: always fill in vcpu->arch.hv_clock

From: Roman Kagan
Date: Mon Sep 19 2016 - 13:33:55 EST


On Mon, Sep 19, 2016 at 01:39:10PM +0200, Paolo Bonzini wrote:
> We will use it in the next patches for KVM_GET_CLOCK and as a basis for the
> contents of the Hyper-V TSC page. Get the values from the Linux
> timekeeper even if kvmclock is not enabled.
>
> Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
> ---
> arch/x86/kvm/x86.c | 109 +++++++++++++++++++++++++++++------------------------
> 1 file changed, 59 insertions(+), 50 deletions(-)

Reviewed-by: Roman Kagan <rkagan@xxxxxxxxxxxxx>