Re: [RFC PATCH v2 06/26] x86/cpu/intel: Allow SGX virtualization without Launch Control support

Dave Hansen
2021-01-21T04:59:12Z

On 1/20/21 3:48 PM, Kai Huang wrote:
>> Not a big deal either way. I agree that "virt" can be confusing.
>>
>> Considering that:
>>
>> +config X86_SGX_VIRTUALIZATION
>> + depends on ... KVM_INTEL
> It is already in patch 3: Introduce virtual EPC for use by KVM guests:
>
> +config X86_SGX_VIRTUALIZATION
> + bool "Software Guard eXtensions (SGX) Virtualization"
> + depends on X86_SGX && KVM_INTEL

Right, I'm suggesting that patch 3 should call it:

X86_SGX_KVM

instead of:

X86_SGX_VIRTUALIZATION