acrn-hypervisor/hypervisor/include/arch/x86/guest
Jason Chen CJ a1c6c24248 vm load: add SOS cmdline option for hugetlb
adding "hugepagesz=1G" and "hugepages=X" into SOS cmdline, for X, current
strategy is making it equal
	e820_mem.total_mem_size -CONFIG_REMAIN_1G_PAGES
if CONFIG_REMAIN_1G_PAGES is not set, it will use 3 by default.

CONFIG_CMA is added to indicate using cma cmdline option for SOS kernel,
by default system will use hugetlb cmdline option if no CONFIG_CMA defined.

Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Xu, Anthony <anthony.xu@intel.com>
2018-05-15 17:25:56 +08:00
..
guest.h vm load: add SOS cmdline option for hugetlb 2018-05-15 17:25:56 +08:00
ucode.h hv: microcode: Enable microcode update from SOS. 2018-05-15 17:19:37 +08:00
vcpu.h check validity of 'VM-exit Int-Info' before extracting vector 2018-05-15 17:25:55 +08:00
vioapic.h initial import 2018-05-11 14:44:28 +08:00
vlapic.h hv: vlapic: simple vlapic_rd/wr input 2018-05-15 17:19:38 +08:00
vm.h add IO requrest 'req_buf' check before reference 2018-05-15 17:25:27 +08:00
vpic.h initial import 2018-05-11 14:44:28 +08:00