fix storage volume inconsistencies in schema and doc

* docs/schemas/storagevol.rng docs/formatstorage.html[.in]
  tests/storagevolschemadata/vol-qcow2.xml: fix storage volume
  inconsistencies in schema and document, patch by Ryota Ozaki
daniel
This commit is contained in:
Daniel Veillard 2009-05-29 12:27:45 +00:00
parent a35f6aee6a
commit 110c64209c
5 changed files with 22 additions and 5 deletions

View File

@ -1,3 +1,9 @@
Fri May 29 14:26:10 CEST 2009 Daniel Veillard <veillard@redhat.com>
* docs/schemas/storagevol.rng docs/formatstorage.html[.in]
tests/storagevolschemadata/vol-qcow2.xml: fix storage volume
inconsistencies in schema and document, patch by Ryota Ozaki
Fri May 29 14:07:13 CEST 2009 Daniel Veillard <veillard@redhat.com>
* po/*: update of many localizations, regenerate the po

View File

@ -294,7 +294,7 @@
<a name="StorageVolFirst" id="StorageVolFirst">General metadata</a>
</h3>
<pre>
&lt;volume type="file"&gt;
&lt;volume&gt;
&lt;name&gt;sparse.img&lt;/name&gt;
&lt;key&gt;/var/lib/xen/images/sparse.img&lt;/key&gt;
&lt;allocation&gt;0&lt;/allocation&gt;
@ -432,7 +432,7 @@
<a name="exampleVol" id="exampleVol">Storage volume</a>
</h3>
<pre>
&lt;volume type="file"&gt;
&lt;volume&gt;
&lt;name&gt;sparse.img&lt;/name&gt;
&lt;allocation&gt;0&lt;/allocation&gt;
&lt;capacity unit="T"&gt;1&lt;/capacity&gt;

View File

@ -183,7 +183,7 @@
<h3><a name="StorageVolFirst">General metadata</a></h3>
<pre>
&lt;volume type="file"&gt;
&lt;volume&gt;
&lt;name&gt;sparse.img&lt;/name&gt;
&lt;key&gt;/var/lib/xen/images/sparse.img&lt;/key&gt;
&lt;allocation&gt;0&lt;/allocation&gt;
@ -353,7 +353,7 @@
<h3><a name="exampleVol">Storage volume</a></h3>
<pre>
&lt;volume type="file"&gt;
&lt;volume&gt;
&lt;name&gt;sparse.img&lt;/name&gt;
&lt;allocation&gt;0&lt;/allocation&gt;
&lt;capacity unit="T"&gt;1&lt;/capacity&gt;

View File

@ -29,6 +29,11 @@
<define name='sizing'>
<optional>
<element name='capacity'>
<optional>
<attribute name='unit'>
<ref name='unit'/>
</attribute>
</optional>
<ref name='uint'/>
</element>
</optional>
@ -183,5 +188,11 @@
</data>
</define>
<define name='unit'>
<data type='string'>
<param name="pattern">[kKmMgGtTpPyYzZ]</param>
</data>
</define>
</grammar>

View File

@ -3,7 +3,7 @@
<key>/var/lib/libvirt/images/OtherDemo.img</key>
<source>
</source>
<capacity>5242880000</capacity>
<capacity unit="G">5</capacity>
<allocation>294912</allocation>
<target>
<path>/var/lib/libvirt/images/OtherDemo.img</path>