Re: [GIT PULL] KVM: x86: VMX changes for 6.18

Paolo Bonzini
2025-09-30T17:33:38Z

On Sat, Sep 27, 2025 at 8:09 AM Sean Christopherson <seanjc@google.com> wrote:
>
> Fix a TDX bug detected by Smatch where KVM would return '0' on failure, do a
> bit of early prep for FRED virtualization, and tidy up.
>
> The following changes since commit c17b750b3ad9f45f2b6f7e6f7f4679844244f0b9:
>
> Linux 6.17-rc2 (2025-08-17 15:22:10 -0700)
>
> are available in the Git repository at:
>
> https://github.com/kvm-x86/linux.git tags/kvm-x86-vmx-6.18
>
> for you to fetch changes up to 510c47f165f0c1f0b57329a30a9a797795519831:
>
> KVM: TDX: Fix uninitialized error code for __tdx_bringup() (2025-09-19 15:25:34 -0700)

Pulled, thanks.

Paolo

> ----------------------------------------------------------------
> KVM VMX changes for 6.18
>
> - Add read/write helpers for MSRs that need to be accessed with preemption
> disable to prepare for virtualizing FRED RSP0.
>
> - Fix a bug where KVM would return 0/success from __tdx_bringup() on error,
> i.e. where KVM would load with enable_tdx=true despite TDX not being usable.
>
> - Minor cleanups.
>
> ----------------------------------------------------------------
> Qianfeng Rong (1):
> KVM: TDX: Remove redundant __GFP_ZERO
>
> Sean Christopherson (1):
> KVM: VMX: Add host MSR read/write helpers to consolidate preemption handling
>
> Tony Lindgren (1):
> KVM: TDX: Fix uninitialized error code for __tdx_bringup()
>
> Xin Li (1):
> KVM: VMX: Fix an indentation
>
> arch/x86/kvm/vmx/tdx.c | 12 ++++--------
> arch/x86/kvm/vmx/vmx.c | 37 ++++++++++++++++++++++++++-----------
> 2 files changed, 30 insertions(+), 19 deletions(-)
>