mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
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>
This commit is contained in:
parent
c6bf8e0e0c
commit
8d017193e2
5 changed files with 31 additions and 2 deletions
4
hmp.c
4
hmp.c
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue