-----Original Message----- From: acrn-dev@... <acrn-dev@...> On Behalf Of chenli.wei Sent: Thursday, September 29, 2022 9:16 AM To: Sun, Victor <victor.sun@...>; Mao, Junjie <junjie.mao@...>; acrn-dev@... Cc: Wei, Chenli <chenli.wei@...> Subject: [acrn-dev] [PATCH v2 2/2] hv: refine the sworld memory allocate
From: Chenli Wei <chenli.wei@...>
The current code uses a predefined sworld memory array to reserve memory for trusty VMs, and assume all post launched VMs are trusty VM which is not correct.
This patch statically reserved memory just for trusty VMs and save 16M memory for every non trusty VM.
v1-->v2: 1. code format refine and function rename