Re: [PATCH v2 2/3] KVM: LAPIC: Reset TMCCT during vCPU reset

From: Wanpeng Li
Date: Tue Jun 08 2021 - 22:16:29 EST


On Wed, 9 Jun 2021 at 00:27, Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote:
[...]
> Perhaps instead set TMCCT to 0 in kvm_apic_set_state, instead of keeping
> the value that was filled in by KVM_GET_LAPIC?

Keeping the value that was filled in by KVM_GET_LAPIC is introduced by
commit 24647e0a39b6 (KVM: x86: Return updated timer current count
register from KVM_GET_LAPIC), could you elaborate more? :)

Wanpeng