Re: [RFC v2 08/32] x86/traps: Add #VE support for TDX guest

From: Andi Kleen
Date: Thu May 13 2021 - 18:48:09 EST



On 5/13/2021 1:07 PM, Dave Hansen wrote:
On 5/13/21 12:47 PM, Andi Kleen wrote:
"if there is any reason for it to nest the TD would shut down."
The TDX EAS says:

If, when attempting to inject a #VE, the Intel TDX module discovers
that the guest TD has not yet retrieved the information for a
previous #VE (i.e., VE_INFO.VALID is not 0), the TDX module injects a
#DF into the guest TD to indicate a #VE overrun.
How does that result in a shut down?


You're right. It's not a shutdown, but a panic. We'll need to fix the comment and replace 'shutdown' with 'panic'


-And