diff options
author | Juan Quintela <quintela@redhat.com> | 2012-08-13 12:31:25 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2012-10-17 18:34:58 +0200 |
commit | 8d017193e2b66a65adf53e46a6372e55470fe7fd (patch) | |
tree | 11df151e4211ec9a8b7a863c66737e713b230e38 /hmp.c | |
parent | c6bf8e0e0cf04b40a8a22426e00ebbd727331d8b (diff) | |
download | qemu-8d017193e2b66a65adf53e46a6372e55470fe7fd.tar.gz qemu-8d017193e2b66a65adf53e46a6372e55470fe7fd.tar.bz2 qemu-8d017193e2b66a65adf53e46a6372e55470fe7fd.zip |
migration: Add dirty_pages_rate to query migrate output
It indicates how many pages were dirtied during the last second.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'hmp.c')
-rw-r--r-- | hmp.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -175,6 +175,10 @@ void hmp_info_migrate(Monitor *mon) info->ram->normal); monitor_printf(mon, "normal bytes: %" PRIu64 " kbytes\n", info->ram->normal_bytes >> 10); + if (info->ram->dirty_pages_rate) { + monitor_printf(mon, "dirty pages rate: %" PRIu64 " pages\n", + info->ram->dirty_pages_rate); + } } if (info->has_disk) { |