Re: [RFC PATCH v4 05/26] x86/sgx: Introduce virtual EPC for use by KVM guests

Dave Hansen
2021-02-09T22:25:45Z

On 2/9/21 1:19 PM, Jarkko Sakkinen wrote:
>> Without that clearly documented, it would be unwise to merge this.
> E.g.
>
> - Have ioctl() to turn opened fd as vEPC.
> - If FLC is disabled, you could only use the fd for creating vEPC.
>
> Quite easy stuff to implement.

The most important question to me is not how close vEPC is today, but
how close it will be in the future. It's basically the age old question
of: do we make one syscall that does two things or two syscalls?

Is there a _compelling_ reason to change direction? How much code would
we save?