Re: [PATCH 10/17] KVM: TDX: Move set_external_spte_present() assert into TDX code

Huang, Kai
2026-03-31T10:31:03Z

On Fri, 2026-03-27 at 13:14 -0700, Rick Edgecombe wrote:
>  static int tdx_sept_set_private_spte(struct kvm *kvm, gfn_t gfn,
>        enum pg_level level, u64 mirror_spte)
>  {
> -
>   if (KVM_BUG_ON(!is_shadow_present_pte(mirror_spte), kvm))
>   return -EIO;

This line deleting isn't needed if it wasn't introduced in the previous
patch.