examples: fix storage volume size schema

There is no such <storage> element, <capacity> and <allocation> exist at
the top level.

Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé 2020-10-06 10:21:49 +01:00
parent 37043008b7
commit 3fdb431718
6 changed files with 12 additions and 24 deletions

View File

@ -1,9 +1,7 @@
<volume type="file">
<name>cow.img</name>
<storage>
<allocation>0</allocation>
<capacity unit="T">1</capacity>
</storage>
<allocation>0</allocation>
<capacity unit="T">1</capacity>
<target>
<format type="cow"/>
</target>

View File

@ -1,9 +1,7 @@
<volume type="file">
<name>qcow.img</name>
<storage>
<allocation>0</allocation>
<capacity unit="T">1</capacity>
</storage>
<allocation>0</allocation>
<capacity unit="T">1</capacity>
<target>
<format type="qcow"/>
</target>

View File

@ -1,9 +1,7 @@
<volume type="file">
<name>qcow2.img</name>
<storage>
<allocation>0</allocation>
<capacity unit="T">1</capacity>
</storage>
<allocation>0</allocation>
<capacity unit="T">1</capacity>
<target>
<format type="qcow2"/>
</target>

View File

@ -1,7 +1,5 @@
<volume type="file">
<name>raw.img</name>
<storage>
<allocation unit="M">10</allocation>
<capacity unit="M">1000</capacity>
</storage>
<allocation unit="M">10</allocation>
<capacity unit="M">1000</capacity>
</volume>

View File

@ -1,7 +1,5 @@
<volume type="file">
<name>sparse.img</name>
<storage>
<allocation>0</allocation>
<capacity unit="T">1</capacity>
</storage>
<allocation>0</allocation>
<capacity unit="T">1</capacity>
</volume>

View File

@ -1,9 +1,7 @@
<volume type="file">
<name>vmdk3.img</name>
<storage>
<allocation>0</allocation>
<capacity unit="T">1</capacity>
</storage>
<allocation>0</allocation>
<capacity unit="T">1</capacity>
<target>
<format type="vmdk"/>
</target>