[elbe-devel] [PATCH v1 05/16] schema: dbsfed.xsd: img_convert

Viraj Shah viraj.shah at linutronix.de
Thu Aug 25 15:49:28 CEST 2022


Add missing attribute documentation for img_convert finetuning action.

Signed-off-by: Viraj Shah <viraj.shah at linutronix.de>
---
 schema/dbsfed.xsd | 35 +++++++++++++++++++++++++++--------
 1 file changed, 27 insertions(+), 8 deletions(-)

diff --git a/schema/dbsfed.xsd b/schema/dbsfed.xsd
index 6e91f3c7d..115a53dd8 100644
--- a/schema/dbsfed.xsd
+++ b/schema/dbsfed.xsd
@@ -2500,18 +2500,37 @@
   <complexType name="img_convert">
     <annotation>
       <documentation>
-        Describe the Image to be converted.
-	The value of the tag describes the filename of the source Imagefile.
-	The dst attribute the destination filename, and the fmt attribute is
-	the format. (See 'qemu-img --help' for a list of possible formats)
-	The Image is per default compressed with gzip afterwards.
+	Gives an opportunity to convert the image to a specific format with
+	or without sources. The Image is per default compressed with gzip
+	afterwards.
       </documentation>
     </annotation>
     <simpleContent>
       <extension base="rfs:string">
-        <attribute name="dst" type="string" use="required" />
-        <attribute name="fmt" type="string" use="required" />
-        <attribute name="keep_src" type="boolean" use="optional" />
+        <attribute name="dst" type="string" use="required">
+	 <annotation>
+	  <documentation>
+	   "dst" describes the filename of the converted image file.
+          </documentation>
+         </annotation>
+        </attribute>
+        <attribute name="fmt" type="string" use="required">
+	 <annotation>
+	  <documentation>
+	   "fmt" describes the format in which the image file needs to be
+	   converted. Please check supported formats section in
+	   "qemu-img --help".
+          </documentation>
+         </annotation>
+        </attribute>
+        <attribute name="keep_src" type="boolean" use="optional">
+	 <annotation>
+	  <documentation>
+	   "keep_src" describes if the converted image needs to have sources
+	   in it using a boolean value.
+          </documentation>
+         </annotation>
+        </attribute>
       </extension>
     </simpleContent>
   </complexType>
-- 
2.30.2



More information about the elbe-devel mailing list