]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: <filesystem> attr is 'accessmode', not 'mode'
authorCole Robinson <crobinso@redhat.com>
Thu, 5 May 2011 18:56:59 +0000 (14:56 -0400)
committerCole Robinson <crobinso@redhat.com>
Thu, 5 May 2011 19:28:23 +0000 (15:28 -0400)
docs/formatdomain.html.in

index 5013c482abe70f8eb976b371ffd8dc3d0c00475c..dcfcd9424eeba096f04633509eb4e514e2a88c53 100644 (file)
       &lt;source name='my-vm-template'/&gt;
       &lt;target dir='/'/&gt;
     &lt;/filesystem&gt;
-    &lt;filesystem type='mount' &gt;
+    &lt;filesystem type='mount' accessmode='passthrough'&gt;
       &lt;source dir='/export/to/guest'/&gt;
       &lt;target dir='/import/from/host'/&gt;
       &lt;readonly/&gt;
         A host directory to mount in the guest. Used by LXC,
         OpenVZ <span class="since">(since 0.6.2)</span>
         and QEMU/KVM <span class="since">(since 0.8.5)</span>.
-        This is the default <code>mode</code> if one is not specified.
+        This is the default <code>type</code> if one is not specified.
         </dd>
         <dt><code>type='template'</code></dt>
         <dd>
         </dd>
         </dl>
 
-      The filesystem block has an optional attribute <code>mode</code>
+      The filesystem block has an optional attribute <code>accessmode</code>
       which specifies the security mode for accessing the source
       <span class="since">(since 0.8.5)</span>. Currently this only works
       with <code>type='mount'</code> for the QEMU/KVM driver. The possible
       values are:
 
         <dl>
-        <dt><code>mode='passthrough'</code></dt>
+        <dt><code>accessmode='passthrough'</code></dt>
         <dd>
         The <code>source</code> is accessed with the permissions of the
-        user inside the guest. This is the default <code>mode</code> if
+        user inside the guest. This is the default <code>accessmode</code> if
         one is not specified.
         <a href="http://lists.gnu.org/archive/html/qemu-devel/2010-05/msg02673.html">More info</a>
         </dd>
-        <dt><code>mode='mapped'</code></dt>
+        <dt><code>accessmode='mapped'</code></dt>
         <dd>
         The <code>source</code> is accessed with the permissions of the
         hypervisor (QEMU process).
         <a href="http://lists.gnu.org/archive/html/qemu-devel/2010-05/msg02673.html">More info</a>
         </dd>
-        <dt><code>mode='squash'</code></dt>
+        <dt><code>accessmode='squash'</code></dt>
         <dd>
         Similar to 'passthrough', the exception is that failure of
         privileged operations like 'chown' are ignored. This makes a