Skip to content

LVI Mitigation? #842

Answered by guzongmin
xanderdunn asked this question in Q&A
Discussion options

You must be logged in to vote

LVI mitigation is used for those Enclaves running on old CPUs, so by default Occlum does not open the LVI mitigation flag.
But you are able to open the mitigation by changing the Occlum build script. The Occlum docker file is https://github.com/occlum/occlum/blob/master/tools/docker/Dockerfile.ubuntu20.04. Since Occlum depends on the Intel SGX SDK, user is able to reference the Intel SGX SDK LVI mitigation tool chain to open it.
BTW: If you are using Intel SGX2 with the latest BIOS, you may not need the LVI mitigation.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by xanderdunn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants