[RFC PATCH 0/2] Refine the logic of allocate sworld memory


chenli.wei
 

From: Chenli Wei <chenli.wei@...>

This series try to refine the allocate sworld memory logic, the current
code allocate for all post launched VM, it's a waste of memory.

The new proposal try to count trusty VM number by offline tool and
allocate sworld memory only for trusty VM, then add a new interface to
get the right page index.


*** BLURB HERE ***

Chenli Wei (2):
misc: refine the allocate logic of offline tool
hv: refine the sworld memory allocate

hypervisor/arch/x86/guest/vm.c | 21 ++++++++++++++++---
misc/config_tools/library/common.py | 3 ++-
misc/config_tools/static_allocators/hv_ram.py | 8 +++----
.../xforms/vm_configurations.h.xsl | 1 +
4 files changed, 24 insertions(+), 9 deletions(-)

--
2.25.1