Re: [PATCH v6 0/6] tdx-guest: Make Quote buffer size dynamic

From: Peter Fang

Date: Wed Sep 30 2026 - 20:37:10 EST


On Wed, Sep 30, 2026 at 03:17:20PM -0700, Edgecombe, Rick P wrote:
> On Wed, 2026-09-30 at 03:30 -0700, Peter Fang wrote:
> > Patch 1/6: Take the Quote buffer as a generic pointer.
> > Patch 2/6: Give the Quote buffer an explicit type.
> > Patch 3/6: Calculate the Quote buffer size with struct_size().
> > Patch 4/6: Read the Quote buffer size from a helper.
> > Patch 5/6: Add a helper to read the QUOTE_MAX_SIZE metadata field.
> > Patch 6/6: The final s/FIXED_BUF_SIZE/queried_buf_size/, when available.
>
> Reviewed-by: Rick Edgecombe <rick.p.edgecombe@xxxxxxxxx>, except for patch 4.
>
> How about we ask Dave to look at it at this point? He might be willing to just
> fix it up if he agrees with any of my comments there.

Yeah I think it's gotten a lot more mature after the past couple of
iterations. Thanks Rick!