[PATCHv4 2/4] qemu aio: add aio attribute to schema

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

 



From: Matthias Dahl <mdvirt@xxxxxxxxxxxxxxxxx>

aio is an optional attribute of <driver> for a given disk.

Signed-off-by: Eric Blake <eblake@xxxxxxxxxx>
---
 docs/formatdomain.html.in |    5 ++++-
 docs/schemas/domain.rng   |   11 +++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index be0446d..6d6641b 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -586,7 +586,10 @@
         attribute is the primary backend driver name, while the optional <code>type</code>
         attribute provides the sub-type. The optional <code>cache</code> attribute
         controls the cache mechanism, possible values are "default", "none",
-        "writethrough" and "writeback". <span class="since">Since 0.1.8</span>
+        "writethrough" and "writeback". Specific to KVM guests is the optional <code>aio</code>
+        attribute which controls what storage api is used for io operations, its possible
+        values are "threads" and "native". <span class="since">Since
+        0.1.8; <code>aio</code> attribute since 0.8.2</span>
       </dd>
       <dt><code>encryption</code></dt>
       <dd>If present, specifies how the volume is encrypted.  See
diff --git a/docs/schemas/domain.rng b/docs/schemas/domain.rng
index 56b6705..acbbf9f 100644
--- a/docs/schemas/domain.rng
+++ b/docs/schemas/domain.rng
@@ -602,6 +602,9 @@
       <optional>
         <ref name="driverErrorPolicy"/>
       </optional>
+      <optional>
+        <ref name="driverAIO"/>
+      </optional>
       <empty/>
     </element>
   </define>
@@ -633,6 +636,14 @@
       </choice>
     </attribute>
   </define>
+  <define name="driverAIO">
+    <attribute name="aio">
+      <choice>
+        <value>threads</value>
+        <value>native</value>
+      </choice>
+    </attribute>
+  </define>
   <define name="controller">
     <element name="controller">
       <choice>
-- 
1.7.0.1

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