[libvirt] [PATCH] Document the domain XML cache attribute for disk devices

Daniel P. Berrange berrange at redhat.com
Mon Jan 11 11:15:07 UTC 2010


On Mon, Jan 11, 2010 at 01:22:56AM +0100, Matthias Bolte wrote:
> ---
>  docs/formatdomain.html.in |    6 ++++--
>  1 files changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
> index 46ab0ac..af31699 100644
> --- a/docs/formatdomain.html.in
> +++ b/docs/formatdomain.html.in
> @@ -343,7 +343,7 @@
>      <pre>
>            ...
>            <disk type='file'>
> -            <driver name="tap" type="aio">
> +            <driver name="tap" type="aio" cache="default">
>              <source file='/var/lib/xen/images/fv0'/>
>              <target dev='hda' bus='ide'/>
>              <encryption type='...'>
> @@ -383,7 +383,9 @@
>        <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

ACK

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list