acrn-hypervisor/misc/config_tools/service_vm_config
Chenli Wei 8e7a1ac7a0 misc: refine the non-stand vUART config
The Service VM needs a 'serial.conf' file to recognize and use
non-standard vUART with the 'setserial' package.

The logic of create serial.conf should update after we move vUART
connection to global and use endpoint to replace the target VM id.

This patch select the new vUART connection and check whether one of the
endpoint is Service VM, if yes, then check the io_port and record it
when the vUART is non-standard.

All these non-standard vUART will be written to the serial.conf.

Tracked-On: #6690
Reviewed-by: Junjie Mao junjie.mao@intel.com
Signed-off-by: Chenli Wei <chenli.wei@intel.com>
2022-03-17 18:33:15 +08:00
..
README misc: config_tools: generate serial configuration file 2021-11-08 13:15:38 +08:00
serial_config.py misc: refine the non-stand vUART config 2022-03-17 18:33:15 +08:00

README

Please run serial_config.py to generate serial configuration file for service VM.

usage: python3 serial_config.py [h] --allocation <allocation_info_file> --scenario <scenario_info_file> --out <output_file>
positional arguments:
  allocation_info_file  : name of the file summarizing resource allocated by config tool
  scenario_info_file  : file name of the scenario info XML
  output_file : file name of serial configuration