Re: [PATCH v3 3/4] virt: tdx-guest: Use a variable to store the Quote buffer size
From: Peter Fang
Date: Wed Sep 02 2026 - 19:26:08 EST
On Wed, Jul 29, 2026 at 11:47:51AM -0700, Kuppuswamy Sathyanarayanan wrote:
>
>
> On 7/29/2026 5:29 AM, Peter Fang wrote:
> > In preparation for dynamic Quote buffer sizes, replace the fixed size
>
> sizes -> size?
Ack.
>
> > constant with a variable.
> >
> > The size is currently a constant sprinkled across several places. Store
> > it in a variable and have all the users read it from there.
>
> You are also dropping PAGE_ALIGN() in alloc and free calls. You can
> mention it in commit log.
Good catch. I will add this next time.
>
> >
> > Signed-off-by: Peter Fang <peter.fang@xxxxxxxxx>
> > ---
>
> Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@xxxxxxxxxxxxxxx>
Thanks Sathya!
>
>