Re: [PATCH v4 10/18] nitro_enclaves: Add logic for enclave image load info

2020-07-06 Thread Paraschiv, Andra-Irina
On 06/07/2020 13:16, Alexander Graf wrote: On 22.06.20 22:03, Andra Paraschiv wrote: Before setting the memory regions for the enclave, the enclave image needs to be placed in memory. After the memory regions are set, this memory cannot be used anymore by the VM, being carved out. Add ioct

Re: [PATCH v4 10/18] nitro_enclaves: Add logic for enclave image load info

2020-07-06 Thread Alexander Graf
On 22.06.20 22:03, Andra Paraschiv wrote: Before setting the memory regions for the enclave, the enclave image needs to be placed in memory. After the memory regions are set, this memory cannot be used anymore by the VM, being carved out. Add ioctl command logic to get the offset in enclave m

[PATCH v4 10/18] nitro_enclaves: Add logic for enclave image load info

2020-06-22 Thread Andra Paraschiv
Before setting the memory regions for the enclave, the enclave image needs to be placed in memory. After the memory regions are set, this memory cannot be used anymore by the VM, being carved out. Add ioctl command logic to get the offset in enclave memory where to place the enclave image. Then th