Skip to content

Commit 6ce8421

Browse files
junjiemao1acrnsi-robot
authored andcommitted
config_tools: mark os_config item as required in scenario XML
Following the same logic of commit 59c7077 ("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 <[email protected]>
1 parent f5b2fd1 commit 6ce8421

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

misc/config_tools/schema/config.xsd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ Refer to :ref:`vuart_config` for detailed vUART settings.</xs:documentation>
406406
<xs:documentation>Specify the companion VM id of this VM.</xs:documentation>
407407
</xs:annotation>
408408
</xs:element>
409-
<xs:element name="os_config" type="OSConfigurations" minOccurs="0">
409+
<xs:element name="os_config" type="OSConfigurations">
410410
<xs:annotation acrn:title="OS Configuration" acrn:applicable-vms="pre-launched, service-vm" acrn:views="basic">
411411
<xs:documentation>General information for host kernel, boot
412412
argument and memory.</xs:documentation>

0 commit comments

Comments
 (0)