[libvirt] [PATCH] schedinfo: add missing documentation

Taku Izumi izumi.taku at jp.fujitsu.com
Fri Aug 19 06:07:21 UTC 2011


This patch adds the missing documentation about the scheduler parameter 
"vcpu_period" and "vcpu_quota".

Signed-off-by: Taku Izumi <izumi.taku at jp.fujitsu.com>
---
 tools/virsh.pod |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Index: libvirt/tools/virsh.pod
===================================================================
--- libvirt.orig/tools/virsh.pod
+++ libvirt/tools/virsh.pod
@@ -712,7 +712,9 @@ I<domain-id>
 Allows you to show (and set) the domain scheduler parameters. The parameters
 available for each hypervisor are:
 
-LXC, QEMU/KVM (posix scheduler): cpu_shares
+LXC (posix scheduler) : cpu_shares
+
+QEMU/KVM (posix scheduler): cpu_shares, vcpu_period, vcpu_quota
 
 Xen (credit scheduler): weight, cap
 
@@ -729,6 +731,10 @@ Therefore, -1 is a useful shorthand for 
 B<Note>: The weight and cap parameters are defined only for the
 XEN_CREDIT scheduler and are now I<DEPRECATED>.
 
+B<Note>: The vcpu_period parameter has a valid value range of 1000-1000000 or
+0, and the vcpu_quota parameter has a valid value range of 1000-1844674407370955
+or less than 0.
+
 =item B<screenshot> I<domain-id> [I<imagefilepath>] [I<--screen> B<screenID>]
 
 Takes a screenshot of a current domain console and stores it into a file.




More information about the libvir-list mailing list