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

From: Dave Hansen
Date: Fri Jun 30 2023 - 11:18:57 EST


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. :)