summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2023-05-04 12:33:57 +0200
committerJuan Quintela <quintela@redhat.com>2023-05-05 01:04:32 +0200
commit40f240a76447cd51916def9a80ca85ad7967f15c (patch)
treeb216d5d7f8ddbcfad90c85b805199e2c0c573610
parente2ee2005585dd2be792b1e5e72cd4c07d787bc3e (diff)
downloadfocaccia-qemu-40f240a76447cd51916def9a80ca85ad7967f15c.tar.gz
focaccia-qemu-40f240a76447cd51916def9a80ca85ad7967f15c.zip
migration: Put zero_pages in alphabetical order
I forgot to move it when I rename it from duplicated_pages.

Message-Id: <20230504103357.22130-3-quintela@redhat.com>
Reviewed-by: David Edmondson <david.edmondson@oracle.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
-rw-r--r--migration/migration-stats.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/migration/migration-stats.h b/migration/migration-stats.h
index 50966328b2..cf8a4f0410 100644
--- a/migration/migration-stats.h
+++ b/migration/migration-stats.h
@@ -49,10 +49,6 @@ typedef struct {
      */
     Stat64 downtime_bytes;
     /*
-     * Number of pages transferred that were full of zeros.
-     */
-    Stat64 zero_pages;
-    /*
      * Number of bytes sent through multifd channels.
      */
     Stat64 multifd_bytes;
@@ -77,6 +73,10 @@ typedef struct {
      * Total number of bytes transferred.
      */
     Stat64 transferred;
+    /*
+     * Number of pages transferred that were full of zeros.
+     */
+    Stat64 zero_pages;
 } MigrationAtomicStats;
 
 extern MigrationAtomicStats mig_stats;