Re: [RFC PATCH 06/15] virt: tdx-guest: Support TDI bind and unbind operations
From: Jason Gunthorpe
Date: Tue Nov 17 2026 - 09:24:35 EST
On Tue, Nov 17, 2026 at 10:16:58PM +1100, Alexey Kardashevskiy wrote:
> > You should still clear the sDTE and that should be a non-failable
> > operation.
>
> In AMD GHCB, the host forwards guest requests to the PSP, and the
> host can screw this up. The guest still gets to know if the host
> tried to meddle. I do not expect it to fail normally but I saw some
> of this while debugging. Thanks,
Like I said, it is completely bad you don't have a fail safe way to
block DMA again. If the guest tries to do this operation and it fails
then it must panic.
I still don't know how your "host controlls dma enable" works with any
possible security. Is crypto involved somehow?
Jason