OSDN Git Service

migration: Rename RAMStats to MigrationAtomicStats
authorJuan Quintela <quintela@redhat.com>
Wed, 26 Apr 2023 17:40:13 +0000 (19:40 +0200)
committerJuan Quintela <quintela@redhat.com>
Wed, 3 May 2023 09:24:20 +0000 (11:24 +0200)
It is lousely based on MigrationStats, but that name is taken, so this
is the best one that I came with.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Lukas Straub <lukasstraub2@web.de>
---

If you have any good suggestion for the name, I am all ears.

migration/migration-stats.c
migration/migration-stats.h

index 8c0af9b..2f2cea9 100644 (file)
@@ -14,4 +14,4 @@
 #include "qemu/stats64.h"
 #include "migration-stats.h"
 
-RAMStats mig_stats;
+MigrationAtomicStats mig_stats;
index 197374b..149af93 100644 (file)
@@ -34,8 +34,8 @@ typedef struct {
     Stat64 postcopy_requests;
     Stat64 precopy_bytes;
     Stat64 transferred;
-} RAMStats;
+} MigrationAtomicStats;
 
-extern RAMStats mig_stats;
+extern MigrationAtomicStats mig_stats;
 
 #endif