Re: [GIT PULL] First batch of KVM changes for Linux 6.2

From: Paolo Bonzini
Date: Mon Dec 12 2022 - 15:43:03 EST


On 12/12/22 17:57, Sean Christopherson wrote:
On Mon, Dec 12, 2022, Paolo Bonzini wrote:
Linus,

The following changes since commit 8332f0ed4f187c7b700831bd7cc83ce180a944b9:

KVM: Update gfn_to_pfn_cache khva when it moves within the same page (2022-11-23 18:58:46 -0500)

are available in the Git repository at:

https://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus

for you to fetch changes up to 1396763d469a83c5d791fa84df7dd17eba83dcf2:

Merge remote-tracking branch 'kvm/queue' into HEAD (2022-12-09 09:15:09 +0100)

...

KVM: x86: remove unnecessary exports

...

KVM: nVMX: hyper-v: Enable L2 TLB flush

As reported a few times[1][2], these two collided and cause a build failure when
building with CONFIG_KVM_AMD=m.

Ouch, the worst thing that can be reported just before a 5-day public holiday weekend.

ERROR: modpost: "kvm_hv_assist_page_enabled" [arch/x86/kvm/kvm-amd.ko] undefined!
make[2]: *** [scripts/Makefile.modpost:126: Module.symvers] Error 1
make[1]: *** [Makefile:1944: modpost] Error 2

The fix is simple enough, maybe just squash it into the merge?

No, I'll fix and respin. :/

Paolo