Re: [PATCH 1/6] x86/tdx: Support hypercalls for TDX guests on Hyper-V

From: 'Kirill A. Shutemov'
Date: Fri Dec 02 2022 - 16:48:13 EST


On Wed, Nov 30, 2022 at 07:14:49PM +0000, Dexuan Cui wrote:
> > From: Dexuan Cui
> > Sent: Wednesday, November 23, 2022 10:55 AM
> > To: Kirill A. Shutemov <kirill@xxxxxxxxxxxxx>
> >
> > > From: Kirill A. Shutemov <kirill@xxxxxxxxxxxxx>
> > > Sent: Wednesday, November 23, 2022 6:41 AM
> > > [...]
> > > I have plan to expand __tdx_hypercall() to cover more registers.
> > > See the patch below.
> >
> > Great! Thank you!
> >
> > > Is it enough for you?
> > Yes.
>
> Hi Kirill, it would be great if you could post a formal patch so that
> I can rebase my patchset accordingly.

The patch doesn't make sense without a user. The use-case I wanted to use
it for awaits update of GHCI. It make take time.

Below is proper patch. Feel free to include it into your patchset.