acrn-config: support non-contiguous HPA for pre-launched VM

This patch modifies the python scripts in scenario,
board and vm-configuration to support,
	1. Generation of seperate ve820 for each VM.
	2. Ability to configure each VM's HPA from
	   acrn-config UI tool.
	3. Non-contiguous HPAs for pre-launched VMs.

Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com>
Tracked-On: #4195
Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
Vijay Dhanraj
2019-12-04 13:29:48 -08:00
committed by wenlingz
parent 6e8b413689
commit 706dbc0e00
5 changed files with 152 additions and 64 deletions

View File

@@ -19,6 +19,8 @@
<memory>
<start_hpa desc="The start physical address in host for the VM">0x100000000</start_hpa>
<size desc="The memory size in Bytes for the VM">0x20000000</size>
<start_hpa2 desc="The start physical address in host for the VM">0x0</start_hpa2>
<size_hpa2 desc="The memory size in Bytes for the VM">0x0</size_hpa2>
</memory>
<os_config>
<name desc="Specify the OS name of VM, currently it is not referenced by hypervisor code.">ClearLinux</name>
@@ -65,7 +67,9 @@
</epc_section>
<memory>
<start_hpa desc="The start physical address in host for the VM">0x120000000</start_hpa>
<size desc="The memory size in Bytes for the VM" readonly="true">0x20000000</size>
<size desc="The memory size in Bytes for the VM">0x20000000</size>
<start_hpa2 desc="The start physical address in host for the VM">0x0</start_hpa2>
<size_hpa2 desc="The memory size in Bytes for the VM">0x0</size_hpa2>
</memory>
<os_config>
<name desc="Specify the OS name of VM, currently it is not referenced by hypervisor code.">ClearLinux</name>