]> xenbits.xensource.com Git - libvirt.git/commitdiff
schema: support 'default' cache mode
authorJim Fehlig <jfehlig@suse.com>
Mon, 29 Feb 2016 23:25:38 +0000 (16:25 -0700)
committerJim Fehlig <jfehlig@suse.com>
Mon, 14 Mar 2016 14:06:15 +0000 (08:06 -0600)
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.

docs/schemas/domaincommon.rng

index 8c6287d8bff59010734dc701caf86a1f3a25ad2d..0eb1e5ad727606ad848db8e77b909d43ef056c1e 100644 (file)
   <define name="driverCache">
     <attribute name="cache">
       <choice>
+        <value>default</value>
         <value>none</value>
         <value>writeback</value>
         <value>writethrough</value>