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