diff mbox

[PULL,1/3] Postcopy: Fix sync count in info migrate

Message ID 614e8018ed0dfa1b95a2109ae42fd0e5f94b5a91.1457436688.git.amit.shah@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Amit Shah March 8, 2016, 11:32 a.m. UTC
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>

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>
---
 migration/migration.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

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;