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

From: Edgecombe, Rick P

Date: Tue Sep 15 2026 - 21:21:14 EST


On Tue, 2026-09-15 at 17:50 -0700, Peter Fang wrote:
> 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.

So this series has a small benefit outside of DICE. But we know DICE based
quotes (however they get to the TD) are going to be big. So this code will
eventually probably help DICE in some form.

So to say this has nothing to do with DICE is not quite true. The querying of
the size will almost certainly get re-used for the eventual DICE design.

I think we should proceed with it now still. Any time we have an opportunity to
break up TDX series into smaller sets that do something useful, it is good. And
if the entire thing only helps the rare SGX user in it's current form because
DICE goes in an unforeseeable direction. It's not a disaster.