Re: [PATCH 07/17] KVM: monolithic: x86: adjust the section prefixes

From: Paolo Bonzini
Date: Mon Sep 23 2019 - 06:15:28 EST


On 20/09/19 23:24, Andrea Arcangeli wrote:
> Adjusts the section prefixes of some KVM common code function because
> with the monolithic methods the section checker can now do a more
> accurate analysis at build time and this allows to build without
> CONFIG_SECTION_MISMATCH_WARN_ONLY=n.
>
> Signed-off-by: Andrea Arcangeli <aarcange@xxxxxxxxxx>

I think it's the opposite---the checker is detecting *missing* section
prefixes, for example vmx_exit, kvm_exit, kvm_arch_hardware_unsetup etc.
could be marked __exit.

Paolo