[libvirt] [PATCH v2 libvirt 5/8] docs: add documentation and schema for <filesystem>/<model>

Giuseppe Scrivano gscrivan at redhat.com
Mon Aug 11 14:47:31 UTC 2014


Signed-off-by: Giuseppe Scrivano <gscrivan at redhat.com>
---
 docs/formatdomain.html.in     |  6 ++++++
 docs/schemas/domaincommon.rng | 13 +++++++++++++
 2 files changed, 19 insertions(+)

diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index 6b5df51..c2d04a9 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -2300,6 +2300,8 @@
       <driver type='path' wrpolicy='immediate'/>
       <source dir='/export/to/guest'/>
       <target dir='/import/from/host'/>
+      <model type='9p'/>
+      <model type='mtp'/>
       <readonly/>
     </filesystem>
     <filesystem type='file' accessmode='passthrough'>
@@ -2337,6 +2339,10 @@
         while the value <code>immediate</code> means that a host writeback
         is immediately triggered for all pages touched during a guest file
         write operation <span class="since">(since 0.9.10)</span>.
+        A "filesystem" element has an optional
+        attribute <code>model</code><span class="since"> (since
+        1.2.8)</span>, which is one of "9p", "mtp" (used by QEMU/KVM),
+        if this element is not specified the default is "9p".
         </dd>
         <dt><code>type='template'</code></dt>
         <dd>
diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
index 033f2f6..684acec 100644
--- a/docs/schemas/domaincommon.rng
+++ b/docs/schemas/domaincommon.rng
@@ -1937,6 +1937,19 @@
           </element>
         </optional>
       </interleave>
+      <interleave>
+        <optional>
+          <element name="model">
+            <attribute name="type">
+              <choice>
+                <value>9p</value>
+                <value>mtp</value>
+              </choice>
+            </attribute>
+            <empty/>
+          </element>
+        </optional>
+      </interleave>
     </element>
   </define>
   <define name="fsDriver">
-- 
1.9.3




More information about the libvir-list mailing list