mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-28 18:04:23 +00:00
Configure PTM in post-launched VM using <PTM> element. If the //vm/PTM sets to 'y', pci_dev.c.xsl appends the virtual root port to corresponding struct acrn_vm_pci_dev_config of that VM. Currently it supports only post-launched VMs. Configure enable_ptm for dm argument. If a uos/enable_ptm with uos id = 'vm_id 'sets to 'y' and the vm/PTM with the same vm_id sets to 'y', append an "enable_ptm" flag to the end of passthrough ethernet devices. Currently there is only ethernet card can support the "enable_ptm"flag. For the schema validation, the <PTM> can only be ['y', 'n']. For the launched script validation, the <enable_ptm> can only be ['y', 'n']. If the <enable_ptm> sets to 'y' but the corresponding <PTM> sets to 'n', the launch script will fail to generate. Tracked-On: #6054 Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com> |
||
---|---|---|
.. | ||
com.py | ||
launch_cfg_gen.py | ||
launch_item.py | ||
pt.py | ||
README |
Please run launch_cfg_gen.py to generate board related configuration files. usage: python3 launch_cfg_gen.py [h] --board <board_info_file> --scenario <scenario_info_file> --launch <launch_info_file> positional arguments: board_info_file : file name of the board info XML scenario_info_file : file name of the scenario info XML launch_info_file : file name of the launch info uosid : this is the relateive id for post launch vm in scenario info XML:[1..max post launch vm]