Re: [GIT PULL] KVM changes for Linux 6.15-rc3

From: Linus Torvalds
Date: Fri Apr 18 2025 - 12:17:15 EST


On Fri, 18 Apr 2025 at 06:06, Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote:
>
> https://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus

I pulled this, but then I unpulled it, because this doesn't work for
me AT ALL. I get

ERROR: modpost: "kvm_arch_has_irq_bypass" [arch/x86/kvm/kvm-amd.ko]
undefined!

when building it. I assume it's due to the change in commit
73e0c567c24a ("KVM: SVM: Don't update IRTEs if APICv/AVIC is
disabled") but didn't check any closer.

I think it's literally just because that symbol isn't exported, but I
also suspect that the *right* fix is to make that function be an
inline function that doesn't *need* to be exported.

So I'm not going to add the trivial EXPORT_SYMBOL_GPL() line, since I
suspect the real fix is different.

Linus