Re: [PATCHv5 02/30] x86/tdx: Provide common base for SEAMCALL and TDCALL C wrappers
From: Borislav Petkov
Date: Thu Mar 10 2022 - 09:56:14 EST
On Thu, Mar 10, 2022 at 05:44:04PM +0300, Kirill A. Shutemov wrote:
> I'm fine moving where you want. But I want to make sure we are on the same
> page: this code is common for guest and host TDX. I think VMX referes more
> to host side of the thing, no?
Well, that patch has host-side stuff too.
If we have to be pedantic, this should be in
arch/x86/virt/shared/vmx/tdx
or so but that's bikeshedding gone out of control to me.
And it isn't generic, as pointed out earlier, so arch/x86/virt/ does not
fit either.
So I'd think of something with "tdx" in the pathname and
arch/x86/virt/vmx/tdx/ is kinda the only one we agreed upon as a path...
Thx.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette