Re: [kvm:kvm-coco-queue 39/125] WARNING: modpost: vmlinux: section mismatch in reference: vt_init+0x2f (section: .init.text) -> vmx_exit (section: .exit.text)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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().
> 






[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux