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

2020-08-11 Thread Paraschiv, Andra-Irina
On 10/08/2020 12:57, Alexander Graf wrote: On 05.08.20 11:10, 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

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

2020-08-10 Thread Alexander Graf
On 05.08.20 11:10, 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

[PATCH v6 10/18] nitro_enclaves: Add logic for getting the enclave image load info

2020-08-05 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