Re: [GIT PULL] KVM: x86: VMXON and EFER.SVME extraction for 7.1

From: Sean Christopherson

Date: Fri Apr 10 2026 - 20:02:46 EST


On Fri, Apr 10, 2026, Sean Christopherson wrote:
> Move VMXON and EFER.SVME handling out of KVM and into the core kernel so that
> core TDX code can do SEAMCALLs without needing to ensure KVM is loaded.
>
> As noted in the full "svm" PULL request, there's a superficial conflict with
> the OSVW changes.

And I almost forgot, there's a lurking conflict with the tip tree due to these
changes tagging a pile of TDX functions with __init. The only notable thing
with the resolution is that get_tdx_sys_info_version() needs to be tagged as
__init as well.

https://lore.kernel.org/all/aagjzN07Pv1fnSHq@xxxxxxxxxxxxx