From c9113d8cd9d68c932175ea63b634fc5cb7e51ef2 Mon Sep 17 00:00:00 2001 Message-Id: From: Pavel Hrdina Date: Thu, 4 Mar 2021 12:57:56 +0100 Subject: [PATCH] docs: use proper cpu quota value in our documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit changed the cpu quota value that reflects what kernel allows but did not update our documentation. Signed-off-by: Pavel Hrdina Reviewed-by: Michal Privoznik (cherry picked from commit 992635b142b261cedb6075e459918418fe6e6962) Conflicts: docs/formatdomain.rst - missing in downstream, we use formatdomain.html.in Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1798463 Signed-off-by: Pavel Hrdina Message-Id: Reviewed-by: Ján Tomko --- docs/formatdomain.html.in | 8 ++++---- docs/manpages/virsh.rst | 2 +- docs/schemas/domaincommon.rng | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index 127dd13cc0..4341e256a8 100644 --- a/docs/formatdomain.html.in +++ b/docs/formatdomain.html.in @@ -872,7 +872,7 @@ bandwidth (unit: microseconds). A domain with quota as any negative value indicates that the domain has infinite bandwidth for vCPU threads, which means that it is not bandwidth controlled. The value - should be in range [1000, 18446744073709551] or less than 0. A quota + should be in range [1000, 17592186044415] or less than 0. A quota with value 0 means no value. You can use this feature to ensure that all vCPUs run at the same speed. Only QEMU driver support since 0.9.4, LXC since @@ -894,7 +894,7 @@ domain. A domain with global_quota as any negative value indicates that the domain has infinite bandwidth, which means that it is not bandwidth controlled. The value should be in range - [1000, 18446744073709551] or less than 0. A global_quota + [1000, 17592186044415] or less than 0. A global_quota with value 0 means no value. Only QEMU driver support since 1.3.3 @@ -915,7 +915,7 @@ excluding vCPUs). A domain with emulator_quota as any negative value indicates that the domain has infinite bandwidth for emulator threads (those excluding vCPUs), which means that it is not bandwidth controlled. - The value should be in range [1000, 18446744073709551] or less than 0. A + The value should be in range [1000, 17592186044415] or less than 0. A quota with value 0 means no value. Only QEMU driver support since 0.10.0 @@ -937,7 +937,7 @@ iothread_quota as any negative value indicates that the domain IOThreads have infinite bandwidth, which means that it is not bandwidth controlled. The value should be in range - [1000, 18446744073709551] or less than 0. An iothread_quota + [1000, 17592186044415] or less than 0. An iothread_quota with value 0 means no value. You can use this feature to ensure that all IOThreads run at the same speed. Only QEMU driver support since 2.1.0 diff --git a/docs/manpages/virsh.rst b/docs/manpages/virsh.rst index 0804465d44..a5b95c1123 100644 --- a/docs/manpages/virsh.rst +++ b/docs/manpages/virsh.rst @@ -3715,7 +3715,7 @@ XEN_CREDIT scheduler. ``Note``: The vcpu_period, emulator_period, and iothread_period parameters have a valid value range of 1000-1000000 or 0, and the vcpu_quota, emulator_quota, and iothread_quota parameters have a valid value range of -1000-18446744073709551 or less than 0. The value 0 for +1000-17592186044415 or less than 0. The value 0 for either parameter is the same as not specifying that parameter. diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng index 4a42cb9b40..6671ef3dfa 100644 --- a/docs/schemas/domaincommon.rng +++ b/docs/schemas/domaincommon.rng @@ -6649,7 +6649,7 @@ -?[0-9]+ - 18446744073709551 + 17592186044415 -1 -- 2.30.0