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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Giuseppe Scrivano <gscrivan@xxxxxxxxxx>
---
 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 @@
       &lt;driver type='path' wrpolicy='immediate'/&gt;
       &lt;source dir='/export/to/guest'/&gt;
       &lt;target dir='/import/from/host'/&gt;
+      &lt;model type='9p'/&gt;
+      &lt;model type='mtp'/&gt;
       &lt;readonly/&gt;
     &lt;/filesystem&gt;
     &lt;filesystem type='file' accessmode='passthrough'&gt;
@@ -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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]