Re: [PATCH v12 20/22] x86/virt/tdx: Allow SEAMCALL to handle #UD and #GP

From: Huang, Kai
Date: Sat Jul 01 2023 - 04:17:03 EST


On Fri, 2023-06-30 at 08:16 -0700, Dave Hansen wrote:
> On 6/30/23 03:18, Huang, Kai wrote:
> > > Please, because 12,14 are callee-saved, which means we need to go add
> > > push/pop to preserve them 🙁
> > Yes.
> >
> > However those new SEAMCALLs are for TDX guest live migration support, which is
> > at a year(s)-later thing from upstreaming's point of view. My thinking is we
> > can defer supporting those new SEAMCALls until that phase. Yes we need to do
> > some assembly change at that time, but also looks fine to me.
> >
> > How does this sound?
>
> It would sound better if the TDX module folks would take that year to
> fix the module and make it nicer for Linux. :)

Yeah agreed. And we can push them to do when we find something needs to be
improved. :)