]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: change the minimum weight description for blkio
authorChen Hanxiao <chenhanxiao@cn.fujitsu.com>
Fri, 11 Oct 2013 13:41:22 +0000 (21:41 +0800)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 15 Oct 2013 11:17:40 +0000 (12:17 +0100)
Since 2.6.39, kernel changed the minimum weight of device blkio.
Update related docs.

Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
docs/formatdomain.html.in
tools/virsh.pod

index 8c998db1762a60e4a88fd2da1361694f723e8ea0..c5a3fa80599649b75a9238b42dd3d10ef3d25f9f 100644 (file)
       <dt><code>weight</code></dt>
       <dd> The optional <code>weight</code> element is the overall I/O
         weight of the guest. The value should be in the range [100,
-        1000].</dd>
+        1000]. After kernel 2.6.39, the value could be in the
+        range [10, 1000].</dd>
       <dt><code>device</code></dt>
       <dd>The domain may have multiple <code>device</code> elements
         that further tune the weights for each host block device in
         mandatory sub-elements, <code>path</code> describing the
         absolute path of the device, and <code>weight</code> giving
         the relative weight of that device, in the range [100,
-        1000].  <span class="since">Since 0.9.8</span></dd>
+        1000]. After kernel 2.6.39, the value could be in the
+        range [10, 1000].<span class="since">Since 0.9.8</span></dd>
     </dl>
 
 
index c6f6adda029a7e6a07654d0a836d3638dac033ac..7af55037ef35f142844548c5fbdade40d22eeace 100644 (file)
@@ -1629,14 +1629,15 @@ Specifying -1 as a value for these limits is interpreted as unlimited.
 [I<--live>] | [I<--current>]]
 
 Display or set the blkio parameters. QEMU/KVM supports I<--weight>.
-I<--weight> is in range [100, 1000].
+I<--weight> is in range [100, 1000]. After kernel 2.6.39, the value
+could be in the range [10, 1000].
 
 B<device-weights> is a single string listing one or more device/weight
 pairs, in the format of /path/to/device,weight,/path/to/device,weight.
-Each weight is in the range [100, 1000], or the value 0 to remove that
-device from per-device listings.  Only the devices listed in the string
-are modified; any existing per-device weights for other devices remain
-unchanged.
+Each weight is in the range [100, 1000], [10, 1000] after kernel 2.6.39,
+or the value 0 to remove that device from per-device listings.
+Only the devices listed in the string are modified;
+any existing per-device weights for other devices remain unchanged.
 
 If I<--live> is specified, affect a running guest.
 If I<--config> is specified, affect the next boot of a persistent guest.