From: Sean Christopherson <seanjc@google.com>
To: Sean Christopherson <seanjc@google.com>,
Paolo Bonzini <pbonzini@redhat.com>
Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org,
Chao Gao <chao.gao@intel.com>
Subject: Re: [PATCH v2] KVM: x86: Enforce use of EXPORT_SYMBOL_FOR_KVM_INTERNAL
Date: Mon, 12 Jan 2026 09:38:44 -0800 [thread overview]
Message-ID: <176823924074.1374169.120221674826221123.b4-ty@google.com> (raw)
In-Reply-To: <20251121190514.293385-1-seanjc@google.com>
On Fri, 21 Nov 2025 11:05:14 -0800, Sean Christopherson wrote:
> Add a (gnarly) inline "script" in the Makefile to fail the build if there
> is EXPORT_SYMBOL_GPL or EXPORT_SYMBOL usage in virt/kvm or arch/x86/kvm
> beyond the known-good/expected exports for other modules. Remembering to
> use EXPORT_SYMBOL_FOR_KVM_INTERNAL is surprisingly difficult, and hoping
> to detect "bad" exports via code review is not a robust long-term strategy.
>
> Jump through a pile of hoops to coerce make into printing a human-friendly
> error message, with the offending files+lines cleanly separated.
>
> [...]
Applied to kvm-x86 misc, thanks!
[1/1] KVM: x86: Enforce use of EXPORT_SYMBOL_FOR_KVM_INTERNAL
https://github.com/kvm-x86/linux/commit/fc4d3a6558af
--
https://github.com/kvm-x86/linux/tree/next
prev parent reply other threads:[~2026-01-12 17:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-21 19:05 Sean Christopherson
2026-01-12 17:38 ` Sean Christopherson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=176823924074.1374169.120221674826221123.b4-ty@google.com \
--to=seanjc@google.com \
--cc=chao.gao@intel.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pbonzini@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®