Re: [PATCH 1/1] KVM: x86: remove always-false condition in kvmclock_sync_fn

From: Sean Christopherson
Date: Fri Oct 20 2023 - 18:56:39 EST


On Sun, 01 Oct 2023 14:36:37 -0700, Dongli Zhang wrote:
> The 'kvmclock_periodic_sync' is a readonly param that cannot change after
> bootup.
>
> The kvm_arch_vcpu_postcreate() is not going to schedule the
> kvmclock_sync_work if kvmclock_periodic_sync == false.
>
> As a result, the "if (!kvmclock_periodic_sync)" can never be true if the
> kvmclock_sync_work = kvmclock_sync_fn() is scheduled.
>
> [...]

Applied to kvm-x86 misc, thanks!

[1/1] KVM: x86: remove always-false condition in kvmclock_sync_fn
https://github.com/kvm-x86/linux/commit/2081a8450ef8

--
https://github.com/kvm-x86/linux/tree/next