Re: [PATCH v2 6/8] KVM: TDX: Handle TDG.VP.VMCALL

Sean Christopherson
2025-02-12T13:53:32Z

On Wed, Feb 12, 2025, Binbin Wu wrote:
> On 2/12/2025 8:18 AM, Sean Christopherson wrote:
> > On Tue, Feb 11, 2025, Binbin Wu wrote:
> > the information is quite useless because userspace doesn't have reg_mask
> > and so can't know what's in data[4], data[5], etc... And I won't be the
> > least bit surprised if guests deviate from the GHCI.
>
> But it also confuses userspace if guests uses special protocol to pass
> information other than ASCII byte stream.

Yes, but only if userspace and the guest aren't in cahoots. There are use cases
where the VMM and the VM are managed/owned by the same entity.