]> xenbits.xensource.com Git - libvirt.git/commitdiff
docs: use proper cpu quota value in our documentation
authorPavel Hrdina <phrdina@redhat.com>
Fri, 19 Feb 2021 18:49:28 +0000 (19:49 +0100)
committerPavel Hrdina <phrdina@redhat.com>
Mon, 22 Feb 2021 13:03:12 +0000 (14:03 +0100)
Commit <d505b8af58912ae1e1a211fabc9995b19bd40828> changed the cpu quota
value that reflects what kernel allows but did not update our
documentation.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
docs/formatdomain.rst
docs/manpages/virsh.rst
docs/schemas/domaincommon.rng

index 258710619196151dcb9e23d2925cd0a0fe500946..e23bcc3e5a00983d76f24ead81dcb775914d9f56 100644 (file)
@@ -754,7 +754,7 @@ CPU Tuning
    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 with value 0 means no value. You
+   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.
    :since:`Only QEMU driver support since 0.9.4, LXC since 0.9.10`
 ``global_period``
@@ -768,7 +768,7 @@ CPU Tuning
    (unit: microseconds) within a period for the whole 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`` with
+   be in range [1000, 17592186044415] or less than 0. A ``global_quota`` with
    value 0 means no value. :since:`Only QEMU driver support since 1.3.3`
 ``emulator_period``
    The optional ``emulator_period`` element specifies the enforcement interval
@@ -783,7 +783,7 @@ CPU Tuning
    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 quota with value 0 means
+   in range [1000, 17592186044415] or less than 0. A quota with value 0 means
    no value. :since:`Only QEMU driver support since 0.10.0`
 ``iothread_period``
    The optional ``iothread_period`` element specifies the enforcement interval
@@ -797,7 +797,7 @@ CPU Tuning
    bandwidth (unit: microseconds) for IOThreads. A domain with
    ``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
+   value should be in range [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. :since:`Only QEMU driver
    support since 2.1.0`
index e3afa48f7b54f0da5cd5b5e251c8ebb2ffc3e343..8a4328faa0d9cbe528800639b0fc2d54fbcb992d 100644 (file)
@@ -3818,7 +3818,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.
 
 
index e6de93445649c5cbca937c02dca5f77e8d7d70ff..d73db65742b5f9be941ed505880061842da7e7ff 100644 (file)
   <define name="cpuquota">
     <data type="long">
       <param name="pattern">-?[0-9]+</param>
-      <param name="maxInclusive">18446744073709551</param>
+      <param name="maxInclusive">17592186044415</param>
       <param name="minInclusive">-1</param>
     </data>
   </define>