mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
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:
parent
37043008b7
commit
3fdb431718
@ -1,9 +1,7 @@
|
||||
<volume type="file">
|
||||
<name>cow.img</name>
|
||||
<storage>
|
||||
<allocation>0</allocation>
|
||||
<capacity unit="T">1</capacity>
|
||||
</storage>
|
||||
<target>
|
||||
<format type="cow"/>
|
||||
</target>
|
||||
|
@ -1,9 +1,7 @@
|
||||
<volume type="file">
|
||||
<name>qcow.img</name>
|
||||
<storage>
|
||||
<allocation>0</allocation>
|
||||
<capacity unit="T">1</capacity>
|
||||
</storage>
|
||||
<target>
|
||||
<format type="qcow"/>
|
||||
</target>
|
||||
|
@ -1,9 +1,7 @@
|
||||
<volume type="file">
|
||||
<name>qcow2.img</name>
|
||||
<storage>
|
||||
<allocation>0</allocation>
|
||||
<capacity unit="T">1</capacity>
|
||||
</storage>
|
||||
<target>
|
||||
<format type="qcow2"/>
|
||||
</target>
|
||||
|
@ -1,7 +1,5 @@
|
||||
<volume type="file">
|
||||
<name>raw.img</name>
|
||||
<storage>
|
||||
<allocation unit="M">10</allocation>
|
||||
<capacity unit="M">1000</capacity>
|
||||
</storage>
|
||||
</volume>
|
||||
|
@ -1,7 +1,5 @@
|
||||
<volume type="file">
|
||||
<name>sparse.img</name>
|
||||
<storage>
|
||||
<allocation>0</allocation>
|
||||
<capacity unit="T">1</capacity>
|
||||
</storage>
|
||||
</volume>
|
||||
|
@ -1,9 +1,7 @@
|
||||
<volume type="file">
|
||||
<name>vmdk3.img</name>
|
||||
<storage>
|
||||
<allocation>0</allocation>
|
||||
<capacity unit="T">1</capacity>
|
||||
</storage>
|
||||
<target>
|
||||
<format type="vmdk"/>
|
||||
</target>
|
||||
|
Loading…
Reference in New Issue
Block a user