Re: [PATCH 02/20] x86/tdx: Add macros to generate TDVMCALL wrappers

From: Kirill A. Shutemov
Date: Mon May 20 2024 - 06:36:12 EST


On Fri, May 17, 2024 at 06:54:15PM +0200, Paolo Bonzini wrote:
> On 5/17/24 16:19, Kirill A. Shutemov wrote:
> > Introduce a set of macros that allow to generate wrappers for TDVMCALL
> > leafs. The macros uses tdvmcall_trmapoline() and provides SYSV-complaint
> > ABI on top of it.
>
> Not really SYSV-compliant, more like "The macros use asm() to call
> tdvmcall_trampoline with its custom parameter passing convention".

Sounds better, thanks.

--
Kiryl Shutsemau / Kirill A. Shutemov