From patchwork Tue Jul 25 14:55:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 1812654 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4R9Kr133LLz1yYc for ; Wed, 26 Jul 2023 00:57:05 +1000 (AEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qOJRt-00026t-RQ; Tue, 25 Jul 2023 10:55:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qOJRr-00023u-4P; Tue, 25 Jul 2023 10:55:39 -0400 Received: from isrv.corpit.ru ([86.62.121.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qOJRp-00008K-5j; Tue, 25 Jul 2023 10:55:38 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id C8B49161BF; Tue, 25 Jul 2023 17:55:36 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id 483611953A; Tue, 25 Jul 2023 17:55:34 +0300 (MSK) Received: (nullmailer pid 3375800 invoked by uid 1000); Tue, 25 Jul 2023 14:55:34 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Michael Tokarev , Fabiano Rosas Subject: [PULL 1/8] migration: spelling fixes Date: Tue, 25 Jul 2023 17:55:25 +0300 Message-Id: X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 Received-SPF: pass client-ip=86.62.121.231; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Michael Tokarev Reviewed-by: Fabiano Rosas --- 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..095d6d75bb 100644 --- a/migration/migration-stats.c +++ b/migration/migration-stats.c @@ -48,7 +48,7 @@ uint64_t migration_rate_get(void) 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 BUFFER_DELAY milliseconds. */ stat64_set(&mig_stats.rate_limit_max, limit / XFER_LIMIT_RATIO); } diff --git a/migration/migration.h b/migration/migration.h index b7c8b67542..6eea18db36 100644 --- a/migration/migration.h +++ b/migration/migration.h @@ -134,7 +134,7 @@ struct MigrationIncomingState { /* * Always set by the main vm load thread only, but can be read by the * postcopy preempt thread. "volatile" makes sure all reads will be - * uptodate across cores. + * up-to-date across cores. */ volatile PreemptThreadStatus preempt_thread_status; /* @@ -409,7 +409,7 @@ struct MigrationState { * channel itself. * * - 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). * * NOTE: See message-id on qemu-devel 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 @@ -57,7 +57,7 @@ static int zlib_send_setup(MultiFDSendParams *p, Error **errp) err_msg = "deflate init failed"; goto err_free_z; } - /* 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); z->zbuff = g_try_malloc(z->zbuff_len); if (!z->zbuff) { 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 @@ -68,7 +68,7 @@ static int zstd_send_setup(MultiFDSendParams *p, Error **errp) p->id, ZSTD_getErrorName(res)); return -1; } - /* 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); z->zbuff = g_try_malloc(z->zbuff_len); if (!z->zbuff) { diff --git a/migration/multifd.c b/migration/multifd.c index 3387d8277f..0e3ae87449 100644 --- a/migration/multifd.c +++ b/migration/multifd.c @@ -878,7 +878,7 @@ static void multifd_new_send_channel_cleanup(MultiFDSendParams *p, qemu_sem_post(&p->sem_sync); /* * 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. */ p->quit = true; diff --git a/migration/savevm.c b/migration/savevm.c index 95c2abf47c..51e40e3a0b 100644 --- a/migration/savevm.c +++ b/migration/savevm.c @@ -117,7 +117,7 @@ static struct mig_cmd_args { * The format of arguments is depending on postcopy mode: * - postcopy RAM only * uint64_t host page size - * uint64_t taget page size + * uint64_t target page size * * - postcopy RAM and postcopy dirty bitmaps * format is the same as for postcopy RAM only diff --git a/migration/trace-events b/migration/trace-events index 5259c1044b..4e43fe20fc 100644 --- a/migration/trace-events +++ b/migration/trace-events @@ -184,7 +184,7 @@ source_return_path_thread_shut(uint32_t val) "0x%x" source_return_path_thread_resume_ack(uint32_t v) "%"PRIu32 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" process_incoming_migration_co_postcopy_end_main(void) "" postcopy_preempt_enabled(bool value) "%d"