qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 1/3] Postcopy: Fix sync count in info migrate


From: Amit Shah
Subject: [Qemu-devel] [PULL 1/3] Postcopy: Fix sync count in info migrate
Date: Tue, 8 Mar 2016 17:02:32 +0530

From: "Dr. David Alan Gilbert" <address@hidden>

I'd missed the sync count off in the postcopy case.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: zhanghailiang <address@hidden>
Message-id: address@hidden
Message-Id: <address@hidden>
Signed-off-by: Amit Shah <address@hidden>
---
 migration/migration.c | 1 +
 1 file changed, 1 insertion(+)

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;
-- 
2.5.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]