[libvirt] [PATCH 4/4] doc/schema: disk storage volume formats

Philipp Hahn hahn at univention.de
Wed Mar 20 11:53:32 UTC 2013


The storage volume formats supported by the disk storage pool are
missing from the allowed values.

Add partition types.

Signed-off-by: Philipp Hahn <hahn at univention.de>
---
 docs/schemas/storagevol.rng |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/docs/schemas/storagevol.rng b/docs/schemas/storagevol.rng
index 765c5a5..0bbb4d2 100644
--- a/docs/schemas/storagevol.rng
+++ b/docs/schemas/storagevol.rng
@@ -201,6 +201,19 @@
     </choice>
   </define>
 
+  <define name='formatdisk'>
+    <choice>
+      <value>none</value>
+      <value>linux</value>
+      <value>fat16</value>
+      <value>fat32</value>
+      <value>linux-swap</value>
+      <value>linux-lvm</value>
+      <value>linux-raid</value>
+      <value>extended</value>
+    </choice>
+  </define>
+
   <define name='format'>
     <optional>
       <element name='format'>
@@ -208,6 +221,7 @@
           <choice>
             <ref name='formatfile'/>
             <ref name='formatdev'/>
+            <ref name='formatdisk'/>
           </choice>
         </attribute>
       </element>
-- 
1.7.10.4




More information about the libvir-list mailing list