From: Hyman Huang(黄勇) <huangy81(a)chinatelecom.cn>
The Libvirt API virDomainStartDirtyRateCalc was extended.
Document this change.
Signed-off-by: Hyman Huang(黄勇) <huangy81(a)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