Re: [Xen-devel] [PATCH 02/15] xen: vmx: detect ENCLS VMEXIT

2017-07-12 Thread Huang, Kai
On 7/13/2017 6:54 AM, Jan Beulich wrote: Andrew Cooper 07/12/17 1:12 PM >>> On 09/07/17 10:09, Kai Huang wrote: If ENCLS VMEXIT is not present then we cannot support SGX virtualization. This patch detects presence of ENCLS VMEXIT. A Xen boot boolean parameter

Re: [Xen-devel] [PATCH 02/15] xen: vmx: detect ENCLS VMEXIT

2017-07-12 Thread Jan Beulich
>>> Andrew Cooper 07/12/17 1:12 PM >>> >On 09/07/17 10:09, Kai Huang wrote: >> If ENCLS VMEXIT is not present then we cannot support SGX virtualization. >> This patch detects presence of ENCLS VMEXIT. A Xen boot boolean parameter >> 'sgx' is also added to manually

Re: [Xen-devel] [PATCH 02/15] xen: vmx: detect ENCLS VMEXIT

2017-07-12 Thread Andrew Cooper
On 09/07/17 10:09, Kai Huang wrote: If ENCLS VMEXIT is not present then we cannot support SGX virtualization. This patch detects presence of ENCLS VMEXIT. A Xen boot boolean parameter 'sgx' is also added to manually enable/disable SGX. Signed-off-by: Kai Huang At a

[Xen-devel] [PATCH 02/15] xen: vmx: detect ENCLS VMEXIT

2017-07-09 Thread Kai Huang
If ENCLS VMEXIT is not present then we cannot support SGX virtualization. This patch detects presence of ENCLS VMEXIT. A Xen boot boolean parameter 'sgx' is also added to manually enable/disable SGX. Signed-off-by: Kai Huang --- xen/arch/x86/hvm/vmx/vmcs.c| 17