mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-27 15:05:17 +00:00
docs: <filesystem> attr is 'accessmode', not 'mode'
This commit is contained in:
parent
f7fc885dec
commit
79b914e8f6
@ -917,7 +917,7 @@
|
|||||||
<source name='my-vm-template'/>
|
<source name='my-vm-template'/>
|
||||||
<target dir='/'/>
|
<target dir='/'/>
|
||||||
</filesystem>
|
</filesystem>
|
||||||
<filesystem type='mount' >
|
<filesystem type='mount' accessmode='passthrough'>
|
||||||
<source dir='/export/to/guest'/>
|
<source dir='/export/to/guest'/>
|
||||||
<target dir='/import/from/host'/>
|
<target dir='/import/from/host'/>
|
||||||
<readonly/>
|
<readonly/>
|
||||||
@ -939,7 +939,7 @@
|
|||||||
A host directory to mount in the guest. Used by LXC,
|
A host directory to mount in the guest. Used by LXC,
|
||||||
OpenVZ <span class="since">(since 0.6.2)</span>
|
OpenVZ <span class="since">(since 0.6.2)</span>
|
||||||
and QEMU/KVM <span class="since">(since 0.8.5)</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>
|
</dd>
|
||||||
<dt><code>type='template'</code></dt>
|
<dt><code>type='template'</code></dt>
|
||||||
<dd>
|
<dd>
|
||||||
@ -955,27 +955,27 @@
|
|||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</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
|
which specifies the security mode for accessing the source
|
||||||
<span class="since">(since 0.8.5)</span>. Currently this only works
|
<span class="since">(since 0.8.5)</span>. Currently this only works
|
||||||
with <code>type='mount'</code> for the QEMU/KVM driver. The possible
|
with <code>type='mount'</code> for the QEMU/KVM driver. The possible
|
||||||
values are:
|
values are:
|
||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt><code>mode='passthrough'</code></dt>
|
<dt><code>accessmode='passthrough'</code></dt>
|
||||||
<dd>
|
<dd>
|
||||||
The <code>source</code> is accessed with the permissions of the
|
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.
|
one is not specified.
|
||||||
<a href="http://lists.gnu.org/archive/html/qemu-devel/2010-05/msg02673.html">More info</a>
|
<a href="http://lists.gnu.org/archive/html/qemu-devel/2010-05/msg02673.html">More info</a>
|
||||||
</dd>
|
</dd>
|
||||||
<dt><code>mode='mapped'</code></dt>
|
<dt><code>accessmode='mapped'</code></dt>
|
||||||
<dd>
|
<dd>
|
||||||
The <code>source</code> is accessed with the permissions of the
|
The <code>source</code> is accessed with the permissions of the
|
||||||
hypervisor (QEMU process).
|
hypervisor (QEMU process).
|
||||||
<a href="http://lists.gnu.org/archive/html/qemu-devel/2010-05/msg02673.html">More info</a>
|
<a href="http://lists.gnu.org/archive/html/qemu-devel/2010-05/msg02673.html">More info</a>
|
||||||
</dd>
|
</dd>
|
||||||
<dt><code>mode='squash'</code></dt>
|
<dt><code>accessmode='squash'</code></dt>
|
||||||
<dd>
|
<dd>
|
||||||
Similar to 'passthrough', the exception is that failure of
|
Similar to 'passthrough', the exception is that failure of
|
||||||
privileged operations like 'chown' are ignored. This makes a
|
privileged operations like 'chown' are ignored. This makes a
|
||||||
|
Loading…
x
Reference in New Issue
Block a user