From b8b22d196902b3965f1006fbd71618e6fe24bdc6 Mon Sep 17 00:00:00 2001 From: Chen Hanxiao Date: Fri, 11 Oct 2013 21:41:22 +0800 Subject: [PATCH] docs: change the minimum weight description for blkio Since 2.6.39, kernel changed the minimum weight of device blkio. Update related docs. Signed-off-by: Gao feng Signed-off-by: Chen Hanxiao --- docs/formatdomain.html.in | 6 ++++-- tools/virsh.pod | 11 ++++++----- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index 8c998db176..c5a3fa8059 100644 --- a/docs/formatdomain.html.in +++ b/docs/formatdomain.html.in @@ -772,7 +772,8 @@
weight
The optional weight element is the overall I/O weight of the guest. The value should be in the range [100, - 1000].
+ 1000]. After kernel 2.6.39, the value could be in the + range [10, 1000].
device
The domain may have multiple device elements that further tune the weights for each host block device in @@ -789,7 +790,8 @@ mandatory sub-elements, path describing the absolute path of the device, and weight giving the relative weight of that device, in the range [100, - 1000]. Since 0.9.8
+ 1000]. After kernel 2.6.39, the value could be in the + range [10, 1000].Since 0.9.8 diff --git a/tools/virsh.pod b/tools/virsh.pod index c6f6adda02..7af55037ef 100644 --- a/tools/virsh.pod +++ b/tools/virsh.pod @@ -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 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.