[PATCH 05/21] examples: xml: Fix 'vol-raw.xml' and 'vol-sparse.xml'

Peter Krempa pkrempa at redhat.com
Thu Oct 8 07:55:19 UTC 2020


Our schema forces a <target/> element which was not present in the
files.

Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 examples/xml/storage/vol-raw.xml    | 3 +++
 examples/xml/storage/vol-sparse.xml | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/examples/xml/storage/vol-raw.xml b/examples/xml/storage/vol-raw.xml
index bc4e049a35..e6c5a28a25 100644
--- a/examples/xml/storage/vol-raw.xml
+++ b/examples/xml/storage/vol-raw.xml
@@ -2,4 +2,7 @@
   <name>raw.img</name>
   <allocation unit="M">10</allocation>
   <capacity unit="M">1000</capacity>
+  <target>
+    <format type="raw"/>
+  </target>
 </volume>
diff --git a/examples/xml/storage/vol-sparse.xml b/examples/xml/storage/vol-sparse.xml
index 2ec9f0b748..21f14a4ac7 100644
--- a/examples/xml/storage/vol-sparse.xml
+++ b/examples/xml/storage/vol-sparse.xml
@@ -2,4 +2,7 @@
   <name>sparse.img</name>
   <allocation>0</allocation>
   <capacity unit="T">1</capacity>
+  <target>
+    <format type="raw"/>
+  </target>
 </volume>
-- 
2.26.2




More information about the libvir-list mailing list