From: Osier Yang Date: Tue, 1 Feb 2011 08:46:17 +0000 (+0800) Subject: docs: Update docs for cpu_shares setting X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=8168285b450ebe9f6e4ac2c3d8f107ca7c581119;p=people%2Fliuw%2Flibxenctrl-split%2Flibvirt.git docs: Update docs for cpu_shares setting * tools/virsh.pod --- diff --git a/tools/virsh.pod b/tools/virsh.pod index 441ca8a4a..d6a16f2d4 100644 --- a/tools/virsh.pod +++ b/tools/virsh.pod @@ -566,7 +566,9 @@ Xen (credit scheduler): weight, cap ESX (allocation scheduler): reservation, limit, shares -B: The cpu_shares parameter has a valid value range of 0-262144. +B: The cpu_shares parameter has a valid value range of 0-262144; Negative +values are wrapped to positive, and larger values are capped at the maximum. +Therefore, -1 is a useful shorthand for 262144. B: The weight and cap parameters are defined only for the XEN_CREDIT scheduler and are now I.