]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
cgroup: Add documentation for blkiotune elements.
authorGui Jianfeng <guijianfeng@cn.fujitsu.com>
Tue, 8 Feb 2011 07:02:15 +0000 (15:02 +0800)
committerEric Blake <eblake@redhat.com>
Tue, 8 Feb 2011 18:47:28 +0000 (11:47 -0700)
Add documentation for blkiotune elements.

Signed-off-by: Gui Jianfeng <guijianfeng@cn.fujitsu.com>
docs/formatdomain.html.in

index 43c78fc31110024c4fb53de76cdcbc7ca71fbe39..c543dab6ad7b8aae615af578a4d478b21828c051 100644 (file)
   &lt;memoryBacking&gt;
     &lt;hugepages/&gt;
   &lt;/memoryBacking&gt;
+  &lt;blkiotune&gt;
+    &lt;weight&gt;800&lt;/weight&gt;
+  &lt;/blkiotune&gt;
   &lt;memtune&gt;
     &lt;hard_limit&gt;1048576&lt;/hard_limit&gt;
     &lt;soft_limit&gt;131072&lt;/soft_limit&gt;
         <code>hugepages</code> element set within it. This tells the
         hypervisor that the guest should have its memory allocated using
         hugepages instead of the normal native page size.</dd>
+      <dt><code>blkiotune</code></dt>
+      <dd> The optional <code>blkiotune</code> element provides the ability
+        to tune Blkio cgroup tunable parameters for the domain. If this is
+        omitted, it defaults to the OS provided defaults.</dd>
+      <dt><code>weight</code></dt>
+      <dd> The optional <code>weight</code> element is the I/O weight of the
+        guest. The value should be in range [100, 1000].</dd>
       <dt><code>memtune</code></dt>
       <dd> The optional <code>memtune</code> element provides details
-      regarding the memory tuneable parameters for the domain. If this is
-      omitted, it defaults to the OS provided defaults.</dd>
+        regarding the memory tunable parameters for the domain. If this is
+        omitted, it defaults to the OS provided defaults.</dd>
       <dt><code>hard_limit</code></dt>
       <dd> The optional <code>hard_limit</code> element is the maximum memory
        the guest can use. The units for this value are kilobytes (i.e. blocks