mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
migration: expose the bitmap_sync_count to the end
expose the count that logs the times of updating the dirty bitmap to end user. Signed-off-by: ChenLiang <chenliang88@huawei.com> Signed-off-by: Gonglei <arei.gonglei@huawei.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
This commit is contained in:
parent
71411d3580
commit
58570ed894
6 changed files with 18 additions and 5 deletions
2
hmp.c
2
hmp.c
|
@ -188,6 +188,8 @@ void hmp_info_migrate(Monitor *mon, const QDict *qdict)
|
|||
info->ram->normal);
|
||||
monitor_printf(mon, "normal bytes: %" PRIu64 " kbytes\n",
|
||||
info->ram->normal_bytes >> 10);
|
||||
monitor_printf(mon, "dirty sync count: %" PRIu64 "\n",
|
||||
info->ram->dirty_sync_count);
|
||||
if (info->ram->dirty_pages_rate) {
|
||||
monitor_printf(mon, "dirty pages rate: %" PRIu64 " pages\n",
|
||||
info->ram->dirty_pages_rate);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue