Re: [PATCH v7 08/12] x86/tdx: Add HLT support for TDX guest

From: Kuppuswamy, Sathyanarayanan
Date: Fri Sep 24 2021 - 16:00:12 EST




On 9/23/21 12:33 PM, Kuppuswamy, Sathyanarayanan wrote:
Is that explained in the comment in _tdx_halt() where irqs_disabled
tells the VMM what to do with the guest - to wake it up or to keep it in
virtual halt?

I think it is left in halt state. Sean, any comment?

I inquired about it and found that the guest will be left in halt
state after non-safe halt call. It is mainly used in CPU off-lining
process.

--
Sathyanarayanan Kuppuswamy
Linux Kernel Developer