config_tools: mark os_config item as required in scenario XML

Following the same logic of commit 59c7077e2 ("config_tools: remove
minOccurs from items that have default values"), this patch marks the
config item os_config, which is a collection of guest OS settings, as
required since subitems of it either have default values or are optional.

Tracked-On: #6690
Signed-off-by: Junjie Mao <junjie.mao@intel.com>
This commit is contained in:
Junjie Mao 2022-06-24 09:40:55 +08:00 committed by acrnsi-robot
parent 35b8d53af3
commit fb3e3fcd3e
1 changed files with 1 additions and 1 deletions

View File

@ -406,7 +406,7 @@ Refer to :ref:`vuart_config` for detailed vUART settings.</xs:documentation>
<xs:documentation>Specify the companion VM id of this VM.</xs:documentation> <xs:documentation>Specify the companion VM id of this VM.</xs:documentation>
</xs:annotation> </xs:annotation>
</xs:element> </xs:element>
<xs:element name="os_config" type="OSConfigurations" minOccurs="0"> <xs:element name="os_config" type="OSConfigurations">
<xs:annotation acrn:title="OS Configuration" acrn:applicable-vms="pre-launched, service-vm" acrn:views="basic"> <xs:annotation acrn:title="OS Configuration" acrn:applicable-vms="pre-launched, service-vm" acrn:views="basic">
<xs:documentation>General information for host kernel, boot <xs:documentation>General information for host kernel, boot
argument and memory.</xs:documentation> argument and memory.</xs:documentation>