[libvirt] [PATCH] schema: support 'default' cache mode

Jim Fehlig jfehlig at suse.com
Tue Mar 8 04:00:00 UTC 2016


Hi All,

Any comments about this small patch?

Regards,
Jim

On 02/29/2016 04:26 PM, Jim Fehlig wrote:
> The docs claims the cache attribute of the disk <driver>
> element supports 'default' as one of its permissible values,
> but such configuration fails virt-xml-validate. Add 'default'
> as one of the cache attribute choices in domaincommon.rng.
>
> Signed-off-by: Jim Fehlig <jfehlig at suse.com>
> ---
>  docs/schemas/domaincommon.rng | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
> index 67af93a..d4e375f 100644
> --- a/docs/schemas/domaincommon.rng
> +++ b/docs/schemas/domaincommon.rng
> @@ -1596,6 +1596,7 @@
>    <define name="driverCache">
>      <attribute name="cache">
>        <choice>
> +        <value>default</value>
>          <value>none</value>
>          <value>writeback</value>
>          <value>writethrough</value>




More information about the libvir-list mailing list