Environment # Host: Ubuntu 14.04.5 LTS, Linux kernel 4.6.0, Intel Core-i7 6700 Skylake processor Guest: Ubuntu 14.04.4 LTS, Linux kernel 3.16.5, QEMU-KVM based virtual machine (using Intel VT-x) 1. ENCLS # SGX Programming Reference, Section 5.2.1 ENCLS instruction is used to execute an enclave system function (privileged) of specified leaf number. Software specifies the leaf function by setting the appropriate value in the register EAX as input.