qemu-devel
[Top][All Lists]
Advanced

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

[PATCH 2/2] migration: Put zero_pages in alphabetical order


From: Juan Quintela
Subject: [PATCH 2/2] migration: Put zero_pages in alphabetical order
Date: Thu, 4 May 2023 12:33:57 +0200

I forgot to move it when I rename it from duplicated_pages.

Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 migration/migration-stats.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/migration/migration-stats.h b/migration/migration-stats.h
index 0e49c236fa..b87ba30ea8 100644
--- a/migration/migration-stats.h
+++ b/migration/migration-stats.h
@@ -48,10 +48,6 @@ typedef struct {
      * guest is stopped.
      */
     Stat64 downtime_bytes;
-    /*
-     * number of pages transferred that were full of zeros.
-     */
-    Stat64 zero_pages;
     /*
      * number of bytes sent through multifd channels.
      */
@@ -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;
-- 
2.40.0




reply via email to

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