diff --git a/docs/formatstorage.html.in b/docs/formatstorage.html.in index 56b49280dd..ed1f0d1ef6 100644 --- a/docs/formatstorage.html.in +++ b/docs/formatstorage.html.in @@ -31,13 +31,13 @@

General metadata

-      <pool type="iscsi">
-        <name>virtimages</name>
-        <uuid>3e3fce45-4f53-4fa7-bb32-11f34168b82b</uuid>
-        <allocation>10000000</allocation>
-        <capacity>50000000</capacity>
-        <available>40000000</available>
-        ...
+<pool type="iscsi"> + <name>virtimages</name> + <uuid>3e3fce45-4f53-4fa7-bb32-11f34168b82b</uuid> + <allocation>10000000</allocation> + <capacity>50000000</capacity> + <available>40000000</available> + ...
name
@@ -75,50 +75,50 @@

-        ...
-        <source>
-          <host name="iscsi.example.com"/>
-          <device path="iqn.2013-06.com.example:iscsi-pool"/>
-          <auth type='chap' username='myname'>
-            <secret usage='mycluster_myname'/>
-          </auth>
-          <vendor name="Acme"/>
-          <product name="model"/>
-        </source>
-        ...
+... +<source> + <host name="iscsi.example.com"/> + <device path="iqn.2013-06.com.example:iscsi-pool"/> + <auth type='chap' username='myname'> + <secret usage='mycluster_myname'/> + </auth> + <vendor name="Acme"/> + <product name="model"/> +</source> +...
-        ...
-        <source>
-          <device path='/dev/mapper/mpatha' part_separator='no'/>
-          <format type='gpt'/>
-        </source>
-        ...
+... +<source> + <device path='/dev/mapper/mpatha' part_separator='no'/> + <format type='gpt'/> +</source> +...
-        ...
-        <source>
-          <adapter type='scsi_host' name='scsi_host1'/>
-        </source>
-        ...
+... +<source> + <adapter type='scsi_host' name='scsi_host1'/> +</source> +...
-        ...
-        <source>
-          <adapter type='scsi_host'>
-            <parentaddr unique_id='1'>
-              <address domain='0x0000' bus='0x00' slot='0x1f' addr='0x2'/>
-            </parentaddr>
-          </adapter>
-        </source>
-        ...
+... +<source> + <adapter type='scsi_host'> + <parentaddr unique_id='1'> + <address domain='0x0000' bus='0x00' slot='0x1f' addr='0x2'/> + </parentaddr> + </adapter> +</source> +...
-        ...
-        <source>
-          <adapter type='fc_host' parent='scsi_host5' wwnn='20000000c9831b4b' wwpn='10000000c9831b4b'/>
-        </source>
-        ...
+... +<source> + <adapter type='fc_host' parent='scsi_host5' wwnn='20000000c9831b4b' wwpn='10000000c9831b4b'/> +</source> +...
device
@@ -387,25 +387,25 @@

-        ...
-        <target>
-          <path>/dev/disk/by-path</path>
-          <permissions>
-            <owner>107</owner>
-            <group>107</group>
-            <mode>0744</mode>
-            <label>virt_image_t</label>
-          </permissions>
-          <timestamps>
-            <atime>1341933637.273190990</atime>
-            <mtime>1341930622.047245868</mtime>
-            <ctime>1341930622.047245868</ctime>
-          </timestamps>
-          <encryption type='...'>
-            ...
-          </encryption>
-        </target>
-      </pool>
+ ... + <target> + <path>/dev/disk/by-path</path> + <permissions> + <owner>107</owner> + <group>107</group> + <mode>0744</mode> + <label>virt_image_t</label> + </permissions> + <timestamps> + <atime>1341933637.273190990</atime> + <mtime>1341930622.047245868</mtime> + <ctime>1341930622.047245868</ctime> + </timestamps> + <encryption type='...'> + ... + </encryption> + </target> +</pool>
path
@@ -494,12 +494,12 @@

General metadata

-      <volume type='file'>
-        <name>sparse.img</name>
-        <key>/var/lib/xen/images/sparse.img</key>
-        <allocation>0</allocation>
-        <capacity unit="T">1</capacity>
-        ...
+<volume type='file'> + <name>sparse.img</name> + <key>/var/lib/xen/images/sparse.img</key> + <allocation>0</allocation> + <capacity unit="T">1</capacity> + ...
name
@@ -575,22 +575,22 @@

-        ...
-        <target>
-          <path>/var/lib/virt/images/sparse.img</path>
-          <format type='qcow2'/>
-          <permissions>
-            <owner>107</owner>
-            <group>107</group>
-            <mode>0744</mode>
-            <label>virt_image_t</label>
-          </permissions>
-          <compat>1.1</compat>
-          <nocow/>
-          <features>
-            <lazy_refcounts/>
-          </features>
-        </target>
+... +<target> + <path>/var/lib/virt/images/sparse.img</path> + <format type='qcow2'/> + <permissions> + <owner>107</owner> + <group>107</group> + <mode>0744</mode> + <label>virt_image_t</label> + </permissions> + <compat>1.1</compat> + <nocow/> + <features> + <lazy_refcounts/> + </features> +</target>
path
@@ -665,18 +665,18 @@

-        ...
-        <backingStore>
-          <path>/var/lib/virt/images/master.img</path>
-          <format type='raw'/>
-          <permissions>
-            <owner>107</owner>
-            <group>107</group>
-            <mode>0744</mode>
-            <label>virt_image_t</label>
-          </permissions>
-        </backingStore>
-      </volume>
+ ... + <backingStore> + <path>/var/lib/virt/images/master.img</path> + <format type='raw'/> + <permissions> + <owner>107</owner> + <group>107</group> + <mode>0744</mode> + <label>virt_image_t</label> + </permissions> + </backingStore> +</volume>
path
@@ -711,62 +711,62 @@

File based storage pool

-      <pool type="dir">
-        <name>virtimages</name>
-        <target>
-          <path>/var/lib/virt/images</path>
-        </target>
-      </pool>
+<pool type="dir"> + <name>virtimages</name> + <target> + <path>/var/lib/virt/images</path> + </target> +</pool>

iSCSI based storage pool

-      <pool type="iscsi">
-        <name>virtimages</name>
-        <source>
-          <host name="iscsi.example.com"/>
-          <device path="iqn.2013-06.com.example:iscsi-pool"/>
-          <auth type='chap' username='myuser'>
-            <secret usage='libvirtiscsi'/>
-          </auth>
-        </source>
-        <target>
-          <path>/dev/disk/by-path</path>
-        </target>
-      </pool>
+<pool type="iscsi"> + <name>virtimages</name> + <source> + <host name="iscsi.example.com"/> + <device path="iqn.2013-06.com.example:iscsi-pool"/> + <auth type='chap' username='myuser'> + <secret usage='libvirtiscsi'/> + </auth> + </source> + <target> + <path>/dev/disk/by-path</path> + </target> +</pool>

Storage volume

-      <volume>
-        <name>sparse.img</name>
-        <allocation>0</allocation>
-        <capacity unit="T">1</capacity>
-        <target>
-          <path>/var/lib/virt/images/sparse.img</path>
-          <permissions>
-            <owner>107</owner>
-            <group>107</group>
-            <mode>0744</mode>
-            <label>virt_image_t</label>
-          </permissions>
-        </target>
-      </volume>
+<volume> + <name>sparse.img</name> + <allocation>0</allocation> + <capacity unit="T">1</capacity> + <target> + <path>/var/lib/virt/images/sparse.img</path> + <permissions> + <owner>107</owner> + <group>107</group> + <mode>0744</mode> + <label>virt_image_t</label> + </permissions> + </target> +</volume>

Storage volume using LUKS

-      <volume>
-        <name>MyLuks.img</name>
-        <capacity unit="G">5</capacity>
-        <target>
-          <path>/var/lib/virt/images/MyLuks.img</path>
-          <format type='raw'/>
-          <encryption format='luks'>
-            <secret type='passphrase' uuid='f52a81b2-424e-490c-823d-6bd4235bc572'/>
-          </encryption>
-        </target>
-      </volume>
+<volume>
+  <name>MyLuks.img</name>
+  <capacity unit="G">5</capacity>
+  <target>
+    <path>/var/lib/virt/images/MyLuks.img</path>
+    <format type='raw'/>
+    <encryption format='luks'>
+      <secret type='passphrase' uuid='f52a81b2-424e-490c-823d-6bd4235bc572'/>
+    </encryption>
+  </target>
+</volume>