[PATCH] NEWS: Document domain dirty page rate calculation APIs

huangy81@chinatelecom.cn posted 1 patch 2 years, 2 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/8101ea76fcb52554a33710c5f6ff237281b09ed7.1645450116.git.huangy81@chinatelecom.cn
NEWS.rst | 14 ++++++++++++++
1 file changed, 14 insertions(+)
[PATCH] NEWS: Document domain dirty page rate calculation APIs
Posted by huangy81@chinatelecom.cn 2 years, 2 months ago
From: Hyman Huang(黄勇) <huangy81@chinatelecom.cn>

The Libvirt API virDomainStartDirtyRateCalc was extended.
Document this change.

Signed-off-by: Hyman Huang(黄勇) <huangy81@chinatelecom.cn>
---
 NEWS.rst | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/NEWS.rst b/NEWS.rst
index f545325..b684416 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -22,6 +22,20 @@ v8.1.0 (unreleased)
     It works on Intel machines as well as recent machines powered by Apple
     Silicon. QEMU 6.2.0 is needed for Apple Silicon support.
 
+  * qemu: Support mode option for dirtyrate calculation
+
+    Introduce ``virDomainDirtyRateCalcFlags`` as parameter of
+    ``virDomainStartDirtyRateCalc``, which is used to specify the mode of
+    dirty page rate calculation.
+
+    Add ``--mode`` option to ``virsh domdirtyrate-calc``, which can be
+    either of the following 3 options:
+    ``page-sampling, dirty-bitmap, dirty-ring``.
+
+    Add ``calc_mode`` field for dirtyrate statistics retured by
+    ``virsh domstats --dirtyrate``, also add ``vCPU dirtyrate`` if
+    ``dirty-ring`` mode was used in last measurement.
+
 * **Improvements**
 
   * packaging: sysconfig files no longer installed
-- 
1.8.3.1


Re: [PATCH] NEWS: Document domain dirty page rate calculation APIs
Posted by Michal Prívozník 2 years, 2 months ago
On 2/21/22 14:30, huangy81@chinatelecom.cn wrote:
> From: Hyman Huang(黄勇) <huangy81@chinatelecom.cn>
> 
> The Libvirt API virDomainStartDirtyRateCalc was extended.
> Document this change.
> 
> Signed-off-by: Hyman Huang(黄勇) <huangy81@chinatelecom.cn>
> ---
>  NEWS.rst | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>

and pushed.

Michal