acrn-hypervisor/misc/config_tools/library
Yang,Yu-chu 69e37b96f3 config-tools: allow vm to configure up to 8 legacy vuarts
Expand the capacity of legacy vuarts per VM. This change is applied to
manual scenario xml editing only.

A SOS VM can choose io port 0x3F8, 0x2F8, 0x3E8, 0x2E8 by selecting
SOS_COM1_BASE, SOS_COM2_BASE, SOS_COM3_BASE, SOS_COM4_BASE respectively.

Non SOS VM can choose io port 0x3F8, 0x2F8, 0x3E8, 0x2E8 by selecting
COM1_BASE, COM2_BASE, COM3_BASE, COM4_BASE respectively.

For any type of VM, selecting "CONFIG_COM_BASE" allows configuration tool
to pick an available io port from hardcoded list:
['0xA000', '0xA010', '0xA020', '0xA030', '0xA040', '0xA050', '0xA060', '0xA070']

A SOS VM can choose irq 4 by selecting SOS_COM1_IRQ and SOS_COM3_IRQ, and choose irq 3 by selecting SOS_COM2_IRQ and SOS_COM4_IRQ.

Non SOS VM can choose irq 4 by selecting COM1_IRQ and COM3_IRQ, and choose irq 3 by selecting COM2_IRQ and COM4_IRQ.

For SOS VM, selecting "CONFIG_COM_IRQ" allows configuration tool
to pick an available irq based on AVAILABLE_IRQ_INFO. For non SOS VM, it
will allocate an available irq from [1, 15].

Tracked-On: #6652
Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
2021-10-09 09:47:22 +08:00
..
board_cfg_lib.py config-tools: fix "is_tpm_passthru" always return "False" 2021-03-12 16:14:46 +08:00
common.py hv && config-tool: Rename GUEST_FLAG_TPM2_FIXUP 2021-08-26 09:24:50 +08:00
hv_cfg_lib.py hv: add priority based scheduler 2021-09-24 09:32:18 +08:00
hypervisor_license acrn-config: Update generated configuration source code 2021-02-02 16:53:56 +08:00
launch_cfg_lib.py config_tools: update the logic of getting gpu bdf 2021-08-26 20:08:38 +08:00
scenario_cfg_lib.py config-tools: allow vm to configure up to 8 legacy vuarts 2021-10-09 09:47:22 +08:00