diff options
| author | ChenLiang | 2014-04-04 11:57:55 +0200 |
|---|---|---|
| committer | Juan Quintela | 2014-05-05 22:15:03 +0200 |
| commit | 58570ed894631904bcdbcd1e8b34479cebe2aae9 (patch) | |
| tree | 069f3429dfd05d4ba7d356f1576b4355fbfb87bf /arch_init.c | |
| parent | migration: Add counts of updating the dirty bitmap (diff) | |
| download | qemu-58570ed894631904bcdbcd1e8b34479cebe2aae9.tar.gz qemu-58570ed894631904bcdbcd1e8b34479cebe2aae9.tar.xz qemu-58570ed894631904bcdbcd1e8b34479cebe2aae9.zip | |
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 'arch_init.c')
| -rw-r--r-- | arch_init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch_init.c b/arch_init.c index c02bce65f6..5f05e992df 100644 --- a/arch_init.c +++ b/arch_init.c @@ -537,6 +537,7 @@ static void migration_bitmap_sync(void) s->dirty_bytes_rate = s->dirty_pages_rate * TARGET_PAGE_SIZE; start_time = end_time; num_dirty_pages_period = 0; + s->dirty_sync_count = bitmap_sync_count; } } |
