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

Jim Fehlig jfehlig at suse.com
Mon Feb 29 23:26:25 UTC 2016


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>
-- 
2.1.4




More information about the libvir-list mailing list