summaryrefslogtreecommitdiffstats
path: root/hmp-commands-info.hx
diff options
context:
space:
mode:
authorPeter Xu2021-06-07 03:11:57 +0200
committerDr. David Alan Gilbert2021-06-08 21:18:26 +0200
commita4a571d97866d056787d7a654be5792765be8a60 (patch)
tree1610dad29b044c9e4fbedaa14faab8421d5c50b3 /hmp-commands-info.hx
parentmigration/dirtyrate: make sample page count configurable (diff)
downloadqemu-a4a571d97866d056787d7a654be5792765be8a60.tar.gz
qemu-a4a571d97866d056787d7a654be5792765be8a60.tar.xz
qemu-a4a571d97866d056787d7a654be5792765be8a60.zip
hmp: Add "calc_dirty_rate" and "info dirty_rate" cmds
These two commands are missing when adding the QMP sister commands. Add them, so developers can play with them easier. Signed-off-by: Peter Xu <peterx@redhat.com> Signed-off-by: Hyman Huang(黄勇) <huangy81@chinatelecom.cn> Message-Id: <4cc0039fc3ad6145136770cf3b0f056c09a2910b.1623027729.git.huangy81@chinatelecom.cn> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'hmp-commands-info.hx')
-rw-r--r--hmp-commands-info.hx13
1 files changed, 13 insertions, 0 deletions
diff --git a/hmp-commands-info.hx b/hmp-commands-info.hx
index b2347a6aea..fb59c27200 100644
--- a/hmp-commands-info.hx
+++ b/hmp-commands-info.hx
@@ -867,3 +867,16 @@ SRST
``info replay``
Display the record/replay information: mode and the current icount.
ERST
+
+ {
+ .name = "dirty_rate",
+ .args_type = "",
+ .params = "",
+ .help = "show dirty rate information",
+ .cmd = hmp_info_dirty_rate,
+ },
+
+SRST
+ ``info dirty_rate``
+ Display the vcpu dirty rate information.
+ERST