aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorHu Tao <hutao@cn.fujitsu.com>2012-08-21 17:18:43 +0800
committerDaniel Veillard <veillard@redhat.com>2012-08-22 16:56:41 +0800
commite051c482aa2d22cac78a33b846a3ddcb409e9fe4 (patch)
tree40fcd8a9a7fc7d1775c036affc3068ceb57ff485 /tools
parentqemu: introduce period/quota tuning for emulator (diff)
downloadlibvirt-e051c482aa2d22cac78a33b846a3ddcb409e9fe4.tar.gz
libvirt-e051c482aa2d22cac78a33b846a3ddcb409e9fe4.tar.bz2
libvirt-e051c482aa2d22cac78a33b846a3ddcb409e9fe4.zip
new interface to control emulator_period/emulator_quota
This patch adds two macros: VIR_DOMAIN_SCHEDULER_EMULATOR_PERIOD, VIR_DOMAIN_SCHEDULER_EMULATOR_QUOTA for controlling cpu bandwidth for emulator activities not tied to vcpus
Diffstat (limited to 'tools')
-rw-r--r--tools/virsh.pod11
1 files changed, 6 insertions, 5 deletions
diff --git a/tools/virsh.pod b/tools/virsh.pod
index ec3c33103..e932d7c42 100644
--- a/tools/virsh.pod
+++ b/tools/virsh.pod
@@ -1202,7 +1202,8 @@ available for each hypervisor are:
LXC (posix scheduler) : cpu_shares
-QEMU/KVM (posix scheduler): cpu_shares, vcpu_period, vcpu_quota
+QEMU/KVM (posix scheduler): cpu_shares, vcpu_period, vcpu_quota,
+emulator_period, emulator_quota
Xen (credit scheduler): weight, cap
@@ -1220,10 +1221,10 @@ values 0 and 1 are automatically converted to a minimal value of 2.
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-18446744073709551 or less than 0. The value 0 for either parameter is
-the same as not specifying that parameter.
+B<Note>: The vcpu_period/emulator_period parameters have a valid value range
+of 1000-1000000 or 0, and the vcpu_quota/emulator_quota parameters have a
+valid value range of 1000-18446744073709551 or less than 0. The value 0 for
+either parameter is the same as not specifying that parameter.
=item B<screenshot> I<domain> [I<imagefilepath>] [I<--screen> B<screenID>]