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


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.

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

hypervisor/arch/x86/guest/vm.c | 34 +++++++++++++++----
misc/config_tools/library/common.py | 3 +-
misc/config_tools/schema/config.xsd | 2 +-
misc/config_tools/static_allocators/hv_ram.py | 8 ++---
.../xforms/vm_configurations.h.xsl | 1 +
5 files changed, 35 insertions(+), 13 deletions(-)