diff options
author | ChenLiang <chenliang88@huawei.com> | 2014-04-04 17:57:55 +0800 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2014-05-05 22:15:03 +0200 |
commit | 58570ed894631904bcdbcd1e8b34479cebe2aae9 (patch) | |
tree | 069f3429dfd05d4ba7d356f1576b4355fbfb87bf /hmp.c | |
parent | 71411d358000cf90ced348b1ce9142c13b5a93cd (diff) | |
download | qemu-58570ed894631904bcdbcd1e8b34479cebe2aae9.zip qemu-58570ed894631904bcdbcd1e8b34479cebe2aae9.tar.gz qemu-58570ed894631904bcdbcd1e8b34479cebe2aae9.tar.bz2 |
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>
Diffstat (limited to 'hmp.c')
-rw-r--r-- | hmp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |