acrn-hypervisor/misc/config_tools/schema
Junjie Mao 0e225c4b23 config_tools: add a slicer of XML schema
We plan to add the following attributes to element definitions in the XML
schema:

  - acrn:applicable-vms, which specify if an element applies to a
    pre-launched VM, the service VM or a post-launched VM

  - acrn:views, which specify if an element shall appear in the basic or
    advanced tab in the configurator.

In order to reduce the attributes above to existing XML technologies, we
need to create new complex types that lists all config items that applies
to a pre-launched VM, the service VM or a post-launched VM, or that should
be shown in the basic or advanced view. Such types can then be used to
replace the original, all-in-one type during validation or configurator
rendering.

When unspecified, an element always applies under all possible
circumstances.

To realize this slicing mechanism, this patch adds a generic class
implementing the common part of slicing XML schema types and two
specific-purpose slicers according to the applicable VMs or views
attributes.

v2 -> v3:

  * Update configdoc.xsl to recognize types in xs:alternative nodes.

Tracked-On: #6690
Signed-off-by: Junjie Mao <junjie.mao@intel.com>
2022-03-15 10:22:37 +08:00
..
checks config_tools: move RDT-related checks to a separate file 2022-03-15 10:22:37 +08:00
config.xsd config_tools: add a slicer of XML schema 2022-03-15 10:22:37 +08:00
datachecks.xsd config_tools/schema: add example data checks 2021-05-16 19:02:00 +08:00
types.xsd config tool: ivshmem: new design for ivshmem 2022-02-18 18:42:00 +08:00
VMtypes.xsd misc: refine vuart connection 2022-03-08 17:07:48 +08:00