Re: [PATCH v6 09/18] nitro_enclaves: Add logic for setting an enclave vCPU

2020-08-11 Thread Paraschiv, Andra-Irina
On 10/08/2020 10:33, Alexander Graf wrote: On 05.08.20 11:10, Andra Paraschiv wrote: An enclave, before being started, has its resources set. One of its resources is CPU. A NE CPU pool is set and enclave CPUs are chosen from it. Offline the CPUs from the NE CPU pool during the pool setup

Re: [PATCH v6 09/18] nitro_enclaves: Add logic for setting an enclave vCPU

2020-08-10 Thread Alexander Graf
On 05.08.20 11:10, Andra Paraschiv wrote: An enclave, before being started, has its resources set. One of its resources is CPU. A NE CPU pool is set and enclave CPUs are chosen from it. Offline the CPUs from the NE CPU pool during the pool setup and online them back during the NE CPU pool

[PATCH v6 09/18] nitro_enclaves: Add logic for setting an enclave vCPU

2020-08-05 Thread Andra Paraschiv
An enclave, before being started, has its resources set. One of its resources is CPU. A NE CPU pool is set and enclave CPUs are chosen from it. Offline the CPUs from the NE CPU pool during the pool setup and online them back during the NE CPU pool teardown. The CPU offline is necessary so that