mirror of
https://github.com/mii443/qemu.git
synced 2025-09-03 23:59:38 +00: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:
@ -180,6 +180,8 @@ MigrationInfo *qmp_query_migrate(Error **errp)
|
||||
info->ram->duplicate = dup_mig_pages_transferred();
|
||||
info->ram->normal = norm_mig_pages_transferred();
|
||||
info->ram->normal_bytes = norm_mig_bytes_transferred();
|
||||
info->ram->dirty_pages_rate = s->dirty_pages_rate;
|
||||
|
||||
|
||||
if (blk_mig_active()) {
|
||||
info->has_disk = true;
|
||||
|
Reference in New Issue
Block a user