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

From: Paolo Bonzini
Date: Fri May 17 2024 - 12:54:40 EST


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".

Paolo