Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 77EA9C43458 for ; Mon, 6 Jul 2026 11:39:04 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wghed-0000iQ-23; Mon, 06 Jul 2026 07:38:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wgheZ-0000i7-4D for qemu-devel@nongnu.org; Mon, 06 Jul 2026 07:38:23 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wgheW-0001bK-Bf for qemu-devel@nongnu.org; Mon, 06 Jul 2026 07:38:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1783337898; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=QcwVYXbNa3n7yPn3Rcnr6ySq9+9MHcBH1u3iEQkkWQ8=; b=Lt3ifVlrNluu6DsAAFx9NuBYbLt1lnWOAbKosPEdzqQ/uVerbdi1JPP3cj3g5tY8RSilxT imaMhDo9yrQC69Fi/JHOUr3Ul5FJdEh2Un9NJRjT7lSw8qRllBwJBq6Pu6ASrSVFGNi88S GH1AgrhskQQrih2WIP23/I2JR66IMHA= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-301-y0EeD0afP7SZuZxHVf8TIA-1; Mon, 06 Jul 2026 07:38:17 -0400 X-MC-Unique: y0EeD0afP7SZuZxHVf8TIA-1 X-Mimecast-MFC-AGG-ID: y0EeD0afP7SZuZxHVf8TIA_1783337896 Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-4926fa2cb17so28007465e9.1 for ; Mon, 06 Jul 2026 04:38:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1783337896; x=1783942696; darn=nongnu.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=QcwVYXbNa3n7yPn3Rcnr6ySq9+9MHcBH1u3iEQkkWQ8=; b=aEDqQXnKRXKZyRFMOuW5JqUSGroFy5UMmiUQGAyjNhLzImK5IyCwL31MpA6vHqjyA8 nk5h6pfsajIJ8QJPiV3jdm2mV0hxribbZ+NSZ9Zv1Xo4T/HVwEkz96aZrO7I2QFZPXXs rTKxLBKIgaQ+GeuutuqK6bEJ97oc8egeWtLUKMRdMd1Xe8TbEEeoUV7gEjUtTJvkNJ7F 84/2qAMyBr8tIjJ9mNkCKcrlK1Q0jAJIRzqSYXqbnHDq2B6otKG5ooJYupkTsVg0rClZ W1owseY8Q+vZxsm/gCx9AsUlXHE2fFb6RjVApbZLnuHgvJ5+0SlGwUDuPpjIBQFhnfbA jTcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783337896; x=1783942696; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=QcwVY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OKdekHkVohavS5YsnicXz /XSvMTPDVMAkfo+x4qtudaHxESdENMzIHaM+KoyaEWQkeELOGbg== X-Received: by 2002:a05:600c:8010:b0:48a:5f32:62c6 with SMTP id 5b1f17b1804b1-493c9b6be47mr171825855e9.11.1783337895020; Mon, 06 Jul 2026 04:38:15 -0700 (PDT) X-Received: by 2002:a05:600c:8010:b0:48a:5f32:62c6 with SMTP id 5b1f17b1804b1-493c9b6be47mr171825535e9.11.1783337894529; Mon, 06 Jul 2026 04:38:14 -0700 (PDT) Received: from ?IPV6:2a01:e0a:280:24f0:576b:abc6:6396:ed4a? ([2a01:e0a:280:24f0:576b:abc6:6396:ed4a]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-47a9e4d8410sm24332276f8f.15.2026.07.06.04.38.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Jul 2026 04:38:14 -0700 (PDT) Message-ID: Date: Mon, 6 Jul 2026 13:38:12 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 16/16] migration: Fix "switchover" used as a verb in comments and docs To: Avihai Horon , qemu-devel@nongnu.org Cc: Alex Williamson , Peter Xu , Fabiano Rosas , Pierrick Bouvier , =?UTF-8?Q?Philippe_Mathieu-Daud=C3=A9?= , Zhao Liu , Halil Pasic , Christian Borntraeger , Jason Herne , Richard Henderson , Ilya Leoshkevich , David Hildenbrand , Eric Farman , Matthew Rosato , Cornelia Huck , Eric Blake , Vladimir Sementsov-Ogievskiy , John Snow , Markus Armbruster , Lukas Straub , Maor Gottlieb References: <20260706085211.13905-1-avihaih@nvidia.com> <20260706085211.13905-17-avihaih@nvidia.com> Content-Language: en-US, fr From: =?UTF-8?Q?C=C3=A9dric_Le_Goater?= Autocrypt: addr=clg@redhat.com; keydata= xsFNBFu8o3UBEADP+oJVJaWm5vzZa/iLgpBAuzxSmNYhURZH+guITvSySk30YWfLYGBWQgeo 8NzNXBY3cH7JX3/a0jzmhDc0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AJkalABEBAAHCwV8EGAECAAkFAlu8o3UCGwwACgkQUaNDx8/77KEhwg//WqVopd5k 8hQb9VVdk6RQOCTfo6wHhEqgjbXQGlaxKHoXywEQBi8eULbeMQf5l4+tHJWBxswQ93IHBQjK yKyNr4FXseUI5O20XVNYDJZUrhA4yn0e/Af0IX25d94HXQ5sMTWr1qlSK6Zu79lbH3R57w9j hQm9emQEp785ui3A5U2Lqp6nWYWXz0eUZ0Tad2zC71Gg9VazU9MXyWn749s0nXbVLcLS0yop s302Gf3ZmtgfXTX/W+M25hiVRRKCH88yr6it+OMJBUndQVAA/fE9hYom6t/zqA248j0QAV/p LHH3hSirE1mv+7jpQnhMvatrwUpeXrOiEw1nHzWCqOJUZ4SY+HmGFW0YirWV2mYKoaGO2YBU wYF7O9TI3GEEgRMBIRT98fHa0NPwtlTktVISl73LpgVscdW8yg9Gc82oe8FzU1uHjU8b10lU XOMHpqDDEV9//r4ZhkKZ9C4O+YZcTFu+mvAY3GlqivBNkmYsHYSlFsbxc37E1HpTEaSWsGfA HQoPn9qrDJgsgcbBVc1gkUT6hnxShKPp4PlsZVMNjvPAnr5TEBgHkk54HQRhhwcYv1T2QumQ izDiU6iOrUzBThaMhZO3i927SG2DwWDVzZltKrCMD1aMPvb3NU8FOYRhNmIFR3fcalYr+9gD uVKe8BVz4atMOoktmt0GWTOC8P4= In-Reply-To: <20260706085211.13905-17-avihaih@nvidia.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=170.10.129.124; envelope-from=clg@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -24 X-Spam_score: -2.5 X-Spam_bar: -- X-Spam_report: (-2.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.445, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org On 7/6/26 10:52, Avihai Horon wrote: > "Switchover" is a noun; the verb form is "switch over". Replace all > instances where "switchover" was incorrectly used as a verb in comments > and documentation. > > Signed-off-by: Avihai Horon > --- > qapi/migration.json | 4 ++-- > migration/migration.h | 6 +++--- > migration/migration.c | 4 ++-- > migration/savevm.c | 2 +- > 4 files changed, 8 insertions(+), 8 deletions(-) > > diff --git a/qapi/migration.json b/qapi/migration.json > index d2f42c4b0f..66bd900465 100644 > --- a/qapi/migration.json > +++ b/qapi/migration.json > @@ -509,7 +509,7 @@ > # > # @switchover-ack: If enabled, migration will not stop the source VM > # and complete the migration until the destination has > -# acknowledged that it is OK to switchover. The acknowledgement > +# acknowledged that it is OK to switch over. The acknowledgement > # may depend, for example, on some device's data being loaded in > # the destination before doing switchover. This can reduce > # downtime if devices that support this capability are present. > @@ -919,7 +919,7 @@ > # migration can use during switchover phase, in bytes per > # second. **Note:** this does not limit the bandwidth during > # switchover, but only for calculations when making decisions to > -# switchover. By default, this value is zero, which means QEMU > +# switch over. By default, this value is zero, which means QEMU > # will estimate the bandwidth automatically. This can be set > # when the estimated value is not accurate, while the user is > # able to guarantee such bandwidth is available when switching > diff --git a/migration/migration.h b/migration/migration.h > index 44bce199cd..631421c784 100644 > --- a/migration/migration.h > +++ b/migration/migration.h > @@ -496,12 +496,12 @@ struct MigrationState { > * migration progresses, the devices on the destination acknowledge > * switchover, decreasing the counter. When the counter reaches zero, a > * single ACK message is sent to the source via the return path, indicating > - * that it's OK to switchover. > + * that it's OK to switch over. > * > * In new switchover-ack, the source is the one that keeps track of a > * pending ACKs counter. As migration progresses, the destination sends ACK > * message per-device via the return path, which decrements the source > - * counter. When the counter reaches zero, it's OK to switchover. During > + * counter. When the counter reaches zero, it's OK to switch over. During > * precopy, source-side devices may request additional ACKs, which increment > * the counter again. > * > @@ -521,7 +521,7 @@ struct MigrationState { > /* > * Indicates the number of pending ACKs from the destination. The value may > * increase or decrease during precopy as new ACKs are requested or > - * received. When zero is reached, it's OK to switchover. In legacy > + * received. When zero is reached, it's OK to switch over. In legacy > * switchover-ack, it's initialized to 1 and decreased to zero upon ACK. > */ > uint32_t switchover_ack_pending_num; > diff --git a/migration/migration.c b/migration/migration.c > index 7d5acd93c3..9736c14458 100644 > --- a/migration/migration.c > +++ b/migration/migration.c > @@ -3293,7 +3293,7 @@ static bool migration_iteration_next_ready(MigrationState *s, > MigPendingData *pending) > { > /* > - * If the estimated values already suggest us to switchover, mark this > + * If the estimated values already suggest us to switch over, mark this > * iteration finished, time to do a slow sync. > */ > if (pending->total_bytes <= s->threshold_size) { > @@ -3418,7 +3418,7 @@ static MigIterateState migration_iteration_run(MigrationState *s) > migration_iteration_go_next(s, &pending); > } > > - /* Check can switchover after qemu_savevm_query_pending() */ > + /* Check if we can switch over after qemu_savevm_query_pending() */ > can_switchover = migration_can_switchover(s); > > /* Should we switch to postcopy now? */ > diff --git a/migration/savevm.c b/migration/savevm.c > index bbb8d2b47c..34dd06f9f7 100644 > --- a/migration/savevm.c > +++ b/migration/savevm.c > @@ -2509,7 +2509,7 @@ static int loadvm_postcopy_handle_switchover_start(Error **errp) > > /* > * If legacy switchover-ack is enabled but no device uses it, need to send an > - * ACK to source that it's OK to switchover. > + * ACK to source that it's OK to switch over. > */ > static int loadvm_switchover_ack_no_users_legacy(MigrationIncomingState *mis, > Error **errp) Reviewed-by: Cédric Le Goater Thanks, C.