qemu-trivial
[Top][All Lists]
Advanced

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

[PATCH, trivial 24/29] tree-wide spelling fixes in comments and some mes


From: Michael Tokarev
Subject: [PATCH, trivial 24/29] tree-wide spelling fixes in comments and some messages: migration/
Date: Fri, 14 Jul 2023 14:38:29 +0300

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
 migration/migration-stats.c | 2 +-
 migration/migration.h       | 4 ++--
 migration/multifd-zlib.c    | 2 +-
 migration/multifd-zstd.c    | 2 +-
 migration/multifd.c         | 2 +-
 migration/savevm.c          | 2 +-
 migration/trace-events      | 2 +-
 7 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/migration/migration-stats.c b/migration/migration-stats.c
index f98c8260be..f195e89732 100644
--- a/migration/migration-stats.c
+++ b/migration/migration-stats.c
@@ -50,3 +50,3 @@ void migration_rate_set(uint64_t limit)
     /*
-     * 'limit' is per second.  But we check it each BUFER_DELAY miliseconds.
+     * 'limit' is per second.  But we check it each BUFER_DELAY milliseconds.
      */
diff --git a/migration/migration.h b/migration/migration.h
index b7c8b67542..6eea18db36 100644
--- a/migration/migration.h
+++ b/migration/migration.h
@@ -136,3 +136,3 @@ struct MigrationIncomingState {
      * postcopy preempt thread.  "volatile" makes sure all reads will be
-     * uptodate across cores.
+     * up-to-date across cores.
      */
@@ -411,3 +411,3 @@ struct MigrationState {
      * - postcopy preempt channel will be created at the switching phase
-     *   from precopy -> postcopy (to avoid race condtion of misordered
+     *   from precopy -> postcopy (to avoid race condition of misordered
      *   creation of channels).
diff --git a/migration/multifd-zlib.c b/migration/multifd-zlib.c
index 81701250ad..37ce48621e 100644
--- a/migration/multifd-zlib.c
+++ b/migration/multifd-zlib.c
@@ -59,3 +59,3 @@ static int zlib_send_setup(MultiFDSendParams *p, Error **errp)
     }
-    /* This is the maxium size of the compressed buffer */
+    /* This is the maximum size of the compressed buffer */
     z->zbuff_len = compressBound(MULTIFD_PACKET_SIZE);
diff --git a/migration/multifd-zstd.c b/migration/multifd-zstd.c
index d1d29e76cc..b471daadcd 100644
--- a/migration/multifd-zstd.c
+++ b/migration/multifd-zstd.c
@@ -70,3 +70,3 @@ static int zstd_send_setup(MultiFDSendParams *p, Error **errp)
     }
-    /* This is the maxium size of the compressed buffer */
+    /* This is the maximum size of the compressed buffer */
     z->zbuff_len = ZSTD_compressBound(MULTIFD_PACKET_SIZE);
diff --git a/migration/multifd.c b/migration/multifd.c
index 3387d8277f..0e3ae87449 100644
--- a/migration/multifd.c
+++ b/migration/multifd.c
@@ -880,3 +880,3 @@ static void 
multifd_new_send_channel_cleanup(MultiFDSendParams *p,
       * Although multifd_send_thread is not created, but main migration
-      * thread neet to judge whether it is running, so we need to mark
+      * thread need to judge whether it is running, so we need to mark
       * its status.
diff --git a/migration/savevm.c b/migration/savevm.c
index 95c2abf47c..51e40e3a0b 100644
--- a/migration/savevm.c
+++ b/migration/savevm.c
@@ -119,3 +119,3 @@ static struct mig_cmd_args {
  *   uint64_t host page size
- *   uint64_t taget page size
+ *   uint64_t target page size
  *
diff --git a/migration/trace-events b/migration/trace-events
index 5259c1044b..4e43fe20fc 100644
--- a/migration/trace-events
+++ b/migration/trace-events
@@ -186,3 +186,3 @@ source_return_path_thread_switchover_acked(void) ""
 migration_thread_low_pending(uint64_t pending) "%" PRIu64
-migrate_transferred(uint64_t tranferred, uint64_t time_spent, uint64_t 
bandwidth, uint64_t size) "transferred %" PRIu64 " time_spent %" PRIu64 " 
bandwidth %" PRIu64 " max_size %" PRId64
+migrate_transferred(uint64_t transferred, uint64_t time_spent, uint64_t 
bandwidth, uint64_t size) "transferred %" PRIu64 " time_spent %" PRIu64 " 
bandwidth %" PRIu64 " max_size %" PRId64
 process_incoming_migration_co_end(int ret, int ps) "ret=%d postcopy-state=%d"
-- 
2.39.2




reply via email to

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