diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index c2a8b92961aed4e4c55f44ec2522d0b8b0144a01..b448caf21f2048117b92117f9c484bbda731a48e 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -8048,6 +8048,7 @@ void kvm_arch_exit(void) cpuhp_remove_state_nocalls(CPUHP_AP_X86_KVM_CLK_ONLINE); #ifdef CONFIG_X86_64 pvclock_gtod_unregister_notifier(&pvclock_gtod_notifier); + cancel_work_sync(&pvclock_gtod_work); #endif kvm_x86_ops.hardware_enable = NULL; kvm_mmu_module_exit();