]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Document the domain XML cache attribute for disk devices
authorMatthias Bolte <matthias.bolte@googlemail.com>
Mon, 11 Jan 2010 00:20:56 +0000 (01:20 +0100)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Mon, 11 Jan 2010 22:58:56 +0000 (23:58 +0100)
docs/formatdomain.html.in

index 46ab0ac0c14725fc3c1827a6c537575e84ca50c4..af316998d0c00e386c4788d688a6280bda79f3bf 100644 (file)
     <pre>
           ...
           &lt;disk type='file'&gt;
-            &lt;driver name="tap" type="aio"&gt;
+            &lt;driver name="tap" type="aio" cache="default"&gt;
             &lt;source file='/var/lib/xen/images/fv0'/&gt;
             &lt;target dev='hda' bus='ide'/&gt;
             &lt;encryption type='...'&gt;
       <dd>If the hypervisor supports multiple backend drivers, then the optional
         <code>driver</code> element allows them to be selected. The <code>name</code>
         attribute is the primary backend driver name, while the optional <code>type</code>
-        attribute provides the sub-type. <span class="since">Since 0.1.8</span>
+        attribute provides the sub-type. The optional <code>cache</code> attribute
+        controls the cache mechanism, possible values are "default", "none",
+        "writethrough" and "writeback". <span class="since">Since 0.1.8</span>
       </dd>
       <dt><code>encryption</code></dt>
       <dd>If present, specifies how the volume is encrypted.  See