# Re: \[PATCH 0/6\] KVM: Export KVM-internal symbols for sub-modules only

- From: Vlastimil Babka \<hidden\>
- Date: 2025-08-25 13:59:35 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2025/08/3185733
- Thread: https://ratatoskr.run/linuxppc-dev/2025/07/3152407/t.md

```text
On 7/29/25 19:42, Sean Christopherson wrote:
> Use the newfangled EXPORT_SYMBOL_GPL_FOR_MODULES() along with some macro
> shenanigans to export KVM-internal symbols if and only if KVM has one or

Note it was renamed to EXPORT_SYMBOL_FOR_MODULES() only in 6.17-rc3 so this
series will need rebasing to that and adjustment. Probably best to rename
also EXPORT_SYMBOL_GPL_FOR_KVM_INTERNAL for consistency?

Thanks,
Vlastimil

> more sub-modules, and only for those sub-modules, e.g. x86's kvm-amd.ko
> and/or kvm-intel.ko.
> 

```
