Re: [RFC v1 05/26] x86/traps: Add #VE support for TDX guest

From: Dave Hansen
Date: Fri Feb 12 2021 - 16:49:43 EST


On 2/12/21 1:47 PM, Andy Lutomirski wrote:
>> What about adding a property to the TD, e.g. via a flag set during TD creation,
>> that controls whether unaccepted accesses cause #VE or are, for all intents and
>> purposes, fatal? That would allow Linux to pursue treating EPT #VEs for private
>> GPAs as fatal, but would give us a safety and not prevent others from utilizing
>> #VEs.
> That seems reasonable.

Ditto.

We first need to double check to see if the docs are right, though.