]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
NEWS: Document domain dirty page rate calculation APIs
authorHyman Huang(黄勇) <huangy81@chinatelecom.cn>
Mon, 21 Feb 2022 13:30:23 +0000 (21:30 +0800)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 21 Feb 2022 14:35:09 +0000 (15:35 +0100)
The Libvirt API virDomainStartDirtyRateCalc was extended.
Document this change.

Signed-off-by: Hyman Huang(黄勇) <huangy81@chinatelecom.cn>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
NEWS.rst

index f5453257abfef093e6b5bae9082c38342baf2574..b6844169096477645a741f7296437c732889cc3b 100644 (file)
--- 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