Re: [RFC PATCH 3/4] KVM: TDX: Exit to userspace for GetTdVmCallInfo
From: Sean Christopherson
Date: Wed Jun 11 2025 - 14:14:08 EST
On Wed, Jun 11, 2025, Rick P Edgecombe wrote:
> On Wed, 2025-06-11 at 09:26 -0700, Sean Christopherson wrote:
> > > GetQuote is not part of the "Base" TDVMCALLs and so has a bit in
> > > GetTdVmCallInfo. We could move it to base?
> >
> > Is GetQuote actually optional? TDX without attestation seems rather
> > pointless.
>
> I don't know if that was a consideration for why it got added to the optional
> category. The inputs were gathered from more than just Linux.
If there's an actual use case for TDX without attestation, then by all means,
make it optional. I'm genuinely curious if there's a hypervisor that plans on
productizing TDX without supporting attestation. It's entirely possible (likely?)
I'm missing or forgetting something.