Re: [RFC PATCH 06/15] virt: tdx-guest: Support TDI bind and unbind operations
From: Jason Gunthorpe
Date: Tue Nov 10 2026 - 14:59:40 EST
On Tue, Nov 10, 2026 at 06:55:41PM +0000, Edgecombe, Rick P wrote:
> Additionally, we should probably see if Jason has any opinion on the types of
> errors that guest TSM would like to handle.
Not at this point :\ And perhaps not at all.
Most of this stuff will end up routing through userspace so it has to
be compressed into a errno.
The various VMM to guest specs like GHCI are going to define their own
contracts, and it is up to Intel to ensure that the full route from
this code -> attestation subsystem -> uapi -> vmm -> GHCI
Preserves whatever semantics have been defined in the spec.
I don't know the answer to the EBUSY question, other than
TSM/attestation will return that to userspace. Can your VMM and GHCI
sort it out?
Jason