On Wed, May 22, 2024, David Woodhouse wrote: > static inline void kvm_ops_update(struct kvm_x86_init_ops *ops) > { > @@ -9984,9 +9977,10 @@ int kvm_x86_vendor_init(struct kvm_x86_init_ops *ops) > > if (pi_inject_timer == -1) > pi_inject_timer = housekeeping_enabled(HK_TYPE_TIMER); > -#ifdef CONFIG_X86_64 > + > pvclock_gtod_register_notifier(&pvclock_gtod_notifier); The unregister path got missed. #ifdef CONFIG_X86_64 pvclock_gtod_unregister_notifier(&pvclock_gtod_notifier); > > +#ifdef CONFIG_X86_64 > if (hypervisor_is_type(X86_HYPER_MS_HYPERV)) > set_hv_tscchange_cb(kvm_hyperv_tsc_notifier); > #endif > -- > 2.44.0 >