Re: [PATCH v8 07/11] x86/tdx: Add HLT support for TDX guest

From: Borislav Petkov
Date: Fri Oct 08 2021 - 13:59:51 EST


On Fri, Oct 08, 2021 at 10:38:22AM -0700, Kuppuswamy, Sathyanarayanan wrote:
> Yes. As per ABI, I don't need to clear it. It will not be used by VMM.
> But since that register content is shared with VMM, I tried to keep the
> unused register values to '0' (consistent with other hypercall use cases).
>
> I am fine with removing it if you think it is unnecessary.

Yeah, you probably wanna clear it after all, just in case, as Dirk says.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette