On Thu, 2025-10-30 at 13:09 -0700, Sean Christopherson wrote:
> Drop the return code from kvm_x86_ops.remove_external_spte(), a.k.a.
> tdx_sept_remove_private_spte(), as KVM simply does a KVM_BUG_ON() failure,
> and that KVM_BUG_ON() is redundant since all error paths in TDX also do a
> KVM_BUG_ON().
> 
> Opportunistically pass the spte instead of the pfn, as the API is clearly
> about removing an spte.
> 
> Suggested-by: Rick Edgecombe <[email protected]>
> Reviewed-by: Binbin Wu <[email protected]>
> Signed-off-by: Sean Christopherson <[email protected]>
> 

Reviewed-by: Kai Huang <[email protected]>

Reply via email to