Re: [PATCH v2 2/2] virt: tdx-guest: Allocate Quote buffer dynamically

From: Peter Fang

Date: Wed Sep 09 2026 - 02:21:32 EST


On Thu, Jul 23, 2026 at 01:19:46AM -0700, Peter Fang wrote:
> On Wed, Jul 22, 2026 at 01:00:35PM +0100, Kiryl Shutsemau wrote:
> > On Tue, Jul 21, 2026 at 04:43:57PM +0000, Edgecombe, Rick P wrote:
> > > BUT, is this number coming from the untrusted host or the TDX module? I cant
> > > find TDCS_QUOTE_MAX_SIZE in the docs.
> >
> > I cannot find it too. Peter, any pointers where it is documented
> > publicly?
>
> Gosh sorry I missed this. Turns out it was not fully published due to
> some internal error. Yikes.
>
> This metadata field is documented in "Intel TDX Module Extension for
> Quoting", Section "TD-Scope Metadata" [1]. But the encoding of this
> field got missed in the June 2026 release of "Intel TDX Module ABI
> Definitions". I just escalated this. I'll come back and give an update
> once it's fixed... Apologies for the oversight.
>
> [1] https://cdrdv2.intel.com/v1/dl/getContent/874303
>

The latest (August 2026) release of "Intel TDX Module ABI Definitions"
[2] now includes the encoding of TDCS_QUOTE_MAX_SIZE. There were some
internal design changes that updated the encoding from
0x9010000200000008 to 0x9010000200000007, so the next version of this
series will reflect this change.

[2] https://cdrdv2.intel.com/v1/dl/getContent/917473

> >