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 | 77 +++++++++++++------
hypervisor/arch/x86/mmu.c | 4 +-
misc/config_tools/library/common.py | 3 +-
misc/config_tools/schema/config.xsd | 6 +-
misc/config_tools/static_allocators/hv_ram.py | 8 +-
.../xforms/vm_configurations.h.xsl | 1 +
6 files changed, 65 insertions(+), 34 deletions(-)
--
2.25.1