From: Cole Robinson Date: Thu, 5 May 2011 18:56:59 +0000 (-0400) Subject: docs: attr is 'accessmode', not 'mode' X-Git-Tag: CVE-2011-2178~334 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79b914e8f699ef7648b7b5d206ae413fb7642a9b;p=thirdparty%2Flibvirt.git docs: attr is 'accessmode', not 'mode' --- diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index 5013c482ab..dcfcd9424e 100644 --- a/docs/formatdomain.html.in +++ b/docs/formatdomain.html.in @@ -917,7 +917,7 @@ <source name='my-vm-template'/> <target dir='/'/> </filesystem> - <filesystem type='mount' > + <filesystem type='mount' accessmode='passthrough'> <source dir='/export/to/guest'/> <target dir='/import/from/host'/> <readonly/> @@ -939,7 +939,7 @@ A host directory to mount in the guest. Used by LXC, OpenVZ (since 0.6.2) and QEMU/KVM (since 0.8.5). - This is the default mode if one is not specified. + This is the default type if one is not specified.
type='template'
@@ -955,27 +955,27 @@
- The filesystem block has an optional attribute mode + The filesystem block has an optional attribute accessmode which specifies the security mode for accessing the source (since 0.8.5). Currently this only works with type='mount' for the QEMU/KVM driver. The possible values are:
-
mode='passthrough'
+
accessmode='passthrough'
The source is accessed with the permissions of the - user inside the guest. This is the default mode if + user inside the guest. This is the default accessmode if one is not specified. More info
-
mode='mapped'
+
accessmode='mapped'
The source is accessed with the permissions of the hypervisor (QEMU process). More info
-
mode='squash'
+
accessmode='squash'
Similar to 'passthrough', the exception is that failure of privileged operations like 'chown' are ignored. This makes a