config_tools: more annotation on the config items

This patch adds the following annotations to the config items defined in
the schema of scenario XMLs:

  - acrn:title, which defines the human-readable label of the corresponding
    widgets in the configurator.

  - acrn:views, which controls in which view(s) this item shows in the
    configurator.

  - acrn:applicable-vms, which specifies the kinds of VMs (pre-launched,
    post-launched and/or service VM) this item applies to. An item not
    applicable to a certain type of VM will not be shown in the
    configurator, and will trigger validation error if that item exists for
    a VM of that specific type.

v1 -> v2:

  * Preserve the CPU affinity settings for service VMs. This will be needed
    later when we want to restrict the available CPUs the service VM can use at
    runtime (but not at initialization time).

Tracked-On: #6690
Signed-off-by: Junjie Mao <junjie.mao@intel.com>
This commit is contained in:
Junjie Mao
2022-02-25 22:08:37 +08:00
committed by acrnsi-robot
parent f392164b40
commit 678879fd34
19 changed files with 182 additions and 409 deletions

View File

@@ -76,9 +76,6 @@
ignore_loglevel no_timer_check intel_iommu=off tsc=reliable</bootargs>
</os_config>
<console_vuart>COM Port 1</console_vuart>
<pci_devs>
<pci_dev/>
</pci_devs>
</vm>
<vm id="1">
<load_order>POST_LAUNCHED_VM</load_order>
@@ -90,10 +87,6 @@
<clos>
<vcpu_clos>0</vcpu_clos>
</clos>
<epc_section>
<base>0</base>
<size>0</size>
</epc_section>
<console_vuart>None</console_vuart>
</vm>
</acrn-config>