mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-31 03:15:42 +00:00
With a bunch of dramatic improvement to the schema of scenario XML recently, it is now non-trivial for users of previous releases to migrate their scenario definitions to the next-gen schema, which will be a major obstacle when upgrading to the next ACRN release. In order to ease the upgrade of scenario XML, this patch introduces a script that takes a scenario XML of previous releases and generates a new one which satisfies the latest schema. The major data that can be migrated include: - Virtual UART and shared memory configurations - VM types, load_order and guest flags Other data are preserved as long as they are still needed according to the schema. The script to print a list that summarizes the data that are unintendedly discarded during the upgrade, so that users can double check the results and edit the generated scenario using the configurator. The upgrader share the same command-line interface of the default value populator and scenario validator. More upgrading logic will be added at the same time the schema is changed. v1 -> v2: * The upgrader now pretty-prints the upgraded XML. * Apply the upgrader to the current scenario XMLs in the repo. The ordering of nodes are adjusted to align with the schema, but no essential changes are made. * Set the log level to INFO. Tracked-On: #6690 Signed-off-by: Junjie Mao <junjie.mao@intel.com> |
||
---|---|---|
.. | ||
cfl-k700-i7 | ||
generic_board | ||
nuc11tnbi5 | ||
qemu | ||
sample_launch_scripts | ||
tgl-vecow-spc-7100-Corei7 | ||
whl-ipc-i5 |