]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
examples: xml: Fix 'vol-raw.xml' and 'vol-sparse.xml'
authorPeter Krempa <pkrempa@redhat.com>
Tue, 6 Oct 2020 15:35:01 +0000 (17:35 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 20 Oct 2020 07:05:10 +0000 (09:05 +0200)
Our schema forces a <target/> element which was not present in the
files.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
examples/xml/storage/vol-raw.xml
examples/xml/storage/vol-sparse.xml

index bc4e049a357d6f8829ec7ddf153f2d6a97f293da..e6c5a28a25233ca60a3c24164c4cc2d8510397f0 100644 (file)
@@ -2,4 +2,7 @@
   <name>raw.img</name>
   <allocation unit="M">10</allocation>
   <capacity unit="M">1000</capacity>
+  <target>
+    <format type="raw"/>
+  </target>
 </volume>
index 2ec9f0b748f464eaae222334fe785deb21ce2e41..21f14a4ac7725919abd5cdf77a66d2fad965170a 100644 (file)
@@ -2,4 +2,7 @@
   <name>sparse.img</name>
   <allocation>0</allocation>
   <capacity unit="T">1</capacity>
+  <target>
+    <format type="raw"/>
+  </target>
 </volume>