On Thu, 2025-01-23 at 08:35 +0000, Huang, Kai wrote: > I checked the code, I think it is because vt_init() calls vmx_exit() in the error path when kvm_init() fails. > > vt_init() is annotated with __init and vmx_exit() is annotated with __exit. Yea. The __exit was just added recently: https://lore.kernel.org/kvm/20250102154050.2403-1-costas.argyris@xxxxxxx/ > > Perhaps we need to remove the __exit annotation from vmx_exit(). >