summaryrefslogtreecommitdiffstats
path: root/migration
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dgilbert@redhat.com>2016-02-25 10:03:51 +0000
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:49:13 -0600
commit60c9ae2da6e9e7ba68c4a965d840068477dbabfa (patch)
tree5ffc6cd1afdb0c878288b7faea35848c5ed4929c /migration
parentda320af146161d62c571323bbe2f312cd39629e2 (diff)
downloadhqemu-60c9ae2da6e9e7ba68c4a965d840068477dbabfa.zip
hqemu-60c9ae2da6e9e7ba68c4a965d840068477dbabfa.tar.gz
Postcopy: Fix sync count in info migrate
I'd missed the sync count off in the postcopy case. Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: zhanghailiang <zhang.zhanghailiang@huawei.com> Message-id: 1456394631-18010-1-git-send-email-dgilbert@redhat.com Message-Id: <1456394631-18010-1-git-send-email-dgilbert@redhat.com> Signed-off-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'migration')
-rw-r--r--migration/migration.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/migration/migration.c b/migration/migration.c
index 0129d9f..7d13377 100644
--- a/migration/migration.c
+++ b/migration/migration.c
@@ -635,6 +635,7 @@ MigrationInfo *qmp_query_migrate(Error **errp)
info->ram->normal_bytes = norm_mig_bytes_transferred();
info->ram->dirty_pages_rate = s->dirty_pages_rate;
info->ram->mbps = s->mbps;
+ info->ram->dirty_sync_count = s->dirty_sync_count;
if (blk_mig_active()) {
info->has_disk = true;
OpenPOWER on IntegriCloud