Re: [PATCH v4 0/4] tdx-guest: Make Quote buffer size dynamic

From: Peter Fang

Date: Tue Sep 15 2026 - 20:50:41 EST


On Tue, Sep 15, 2026 at 05:36:49PM -0700, Edgecombe, Rick P wrote:
> On Tue, 2026-09-15 at 17:34 -0700, Peter Fang wrote:
> > > Is it all correct?
> >
> > Yes. If a new TDX module decides to report this field on a non-DICE
> > platform, this code still works [1].
>
> So the real scenario is TDX on a DICE platform, while using legacy SGX based
> attestation?

Yes that is the real scenario and this series supports it. Reporting
this field on a non-DICE platform is just a theory at this point.

This is probably pretty obvious... This series still only uses the
GetQuote GHCI for quoting, so there is no other future DICE enabling in
it.

>
> > And quotes in the DICE world will
> > continue to get larger. This metadata reporting is useful regardless of
> > how DICE is implemented in the end. I wanted to be upfront about what
> > the potential impact may be if the guest did DICE differently. The guest
> > would still need this reported size from the TDX module.
> >
> > [1] https://lore.kernel.org/kvm/apsxN4jYe3G3meNz@xxxxxxxxx/
>