Re: [RFC PATCH v2 09/69] KVM: TDX: Add C wrapper functions for TDX SEAMCALLs

From: Paolo Bonzini
Date: Tue Jul 06 2021 - 09:25:22 EST

On 03/07/21 00:04, isaku.yamahata@xxxxxxxxx wrote:
+static inline u64 tdh_mng_addcx(hpa_t tdr, hpa_t addr)
+ return seamcall(TDH_MNG_ADDCX, addr, tdr, 0, 0, 0, NULL);

Since you have wrappers anyway, I don't like having an extra macro level just to remove the SEAMCALL_ prefix. It messes up editors that look up the symbols.