Re: [PATCH v17 2/3] virt: Add TDX guest driver

From: Sathyanarayanan Kuppuswamy
Date: Wed Nov 09 2022 - 10:42:39 EST




On 11/9/22 7:36 AM, Sathyanarayanan Kuppuswamy wrote:
> TDG.MR.TDCALL expects reportdata and tdreport buffers to be size aligned. So,
> allocating them together with sizeof(struct tdx report req) will not work. We
> can get around this by allocating a slightly larger buffer size. However, because
> it is not a time-critical path, I believe that allocating two separate buffers
> for input/output is simpler.

I mean't TDG.MR.REPORT TDCALL.

--
Sathyanarayanan Kuppuswamy
Linux Kernel Developer