8e7a1ac7a0
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> |
||
---|---|---|
.. | ||
README | ||
serial_config.py |
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