From mboxrd@z Thu Jan 1 00:00:00 1970 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 lists.gnu.org (lists.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 A371BE68171 for ; Tue, 17 Feb 2026 13:08:31 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vsKny-0004Zk-Hk; Tue, 17 Feb 2026 08:07:54 -0500 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 1vsKnv-0004ZG-NM for qemu-devel@nongnu.org; Tue, 17 Feb 2026 08:07:51 -0500 Received: from smtp-out1.suse.de ([2a07:de40:b251:101:10:150:64:1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vsKns-0003Vb-K6 for qemu-devel@nongnu.org; Tue, 17 Feb 2026 08:07:51 -0500 Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 552E43E6FA; Tue, 17 Feb 2026 13:07:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1771333665; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=VJnbyQlzR1d2+rV3ZP91HpnUUYTHdbQa5wE7VLv7giU=; b=vqOPH2DseBoyXBGZo1ZsnkXr+XqqD/1D7zkgGGVEm0jjFUjp4o21kHiDNwbqXt04HpWoFY 656QEcxJ8ro0+d9j3S3tsY/xH5XV2pzTLHyWg+fQlXdoF7t+v+SwM5JbYg31W1k+c09wYD +NWnegj0Uwey5vOm5skrTFJMhRLm1io= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1771333665; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=VJnbyQlzR1d2+rV3ZP91HpnUUYTHdbQa5wE7VLv7giU=; b=ys7SWNAZ8yJB/f9vH/hKJZqIlXRHN8YMxcSYyKLH4R7Hd83F0dj2E1EoT3Bbej+cLYCRZX 3dKWeBOxjvdPjwCA== Authentication-Results: smtp-out1.suse.de; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=vqOPH2Ds; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=ys7SWNAZ DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1771333665; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=VJnbyQlzR1d2+rV3ZP91HpnUUYTHdbQa5wE7VLv7giU=; b=vqOPH2DseBoyXBGZo1ZsnkXr+XqqD/1D7zkgGGVEm0jjFUjp4o21kHiDNwbqXt04HpWoFY 656QEcxJ8ro0+d9j3S3tsY/xH5XV2pzTLHyWg+fQlXdoF7t+v+SwM5JbYg31W1k+c09wYD +NWnegj0Uwey5vOm5skrTFJMhRLm1io= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1771333665; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=VJnbyQlzR1d2+rV3ZP91HpnUUYTHdbQa5wE7VLv7giU=; b=ys7SWNAZ8yJB/f9vH/hKJZqIlXRHN8YMxcSYyKLH4R7Hd83F0dj2E1EoT3Bbej+cLYCRZX 3dKWeBOxjvdPjwCA== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id C77D63EA65; Tue, 17 Feb 2026 13:07:44 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id lREJIyBolGm9RgAAD6G6ig (envelope-from ); Tue, 17 Feb 2026 13:07:44 +0000 From: Fabiano Rosas To: Lukas Straub , qemu-devel@nongnu.org Cc: Peter Xu , Laurent Vivier , Paolo Bonzini , Zhang Chen , Hailiang Zhang , Markus Armbruster , Li Zhijian , "Dr. David Alan Gilbert" , Lukas Straub , Juan Quintela Subject: Re: [PATCH v8 00/17] migration: Add COLO multifd support and COLO migration unit test In-Reply-To: <20260210-colo_unit_test_multifd-v8-0-7f9e5f7d082b@web.de> References: <20260210-colo_unit_test_multifd-v8-0-7f9e5f7d082b@web.de> Date: Tue, 17 Feb 2026 10:07:41 -0300 Message-ID: <87ecmjmsbm.fsf@suse.de> MIME-Version: 1.0 Content-Type: text/plain X-Spamd-Result: default: False [-4.51 / 50.00]; BAYES_HAM(-3.00)[100.00%]; NEURAL_HAM_LONG(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; MX_GOOD(-0.01)[]; FREEMAIL_TO(0.00)[web.de,nongnu.org]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; FUZZY_RATELIMITED(0.00)[rspamd.com]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:104:10:150:64:97:from]; ARC_NA(0.00)[]; RCPT_COUNT_TWELVE(0.00)[12]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:97:from]; FREEMAIL_ENVRCPT(0.00)[gmail.com,web.de]; FREEMAIL_CC(0.00)[redhat.com,gmail.com,xfusion.com,fujitsu.com,treblig.org,web.de,trasno.org]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; DNSWL_BLOCKED(0.00)[2a07:de40:b281:104:10:150:64:97:from,2a07:de40:b281:106:10:150:64:167:received]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:106:10:150:64:167:received]; DKIM_TRACE(0.00)[suse.de:+]; MISSING_XM_UA(0.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:dkim, suse.de:mid, imap1.dmz-prg2.suse.org:rdns, imap1.dmz-prg2.suse.org:helo] X-Rspamd-Action: no action X-Rspamd-Queue-Id: 552E43E6FA X-Rspamd-Server: rspamd1.dmz-prg2.suse.org Received-SPF: pass client-ip=2a07:de40:b251:101:10:150:64:1; envelope-from=farosas@suse.de; helo=smtp-out1.suse.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=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 Lukas Straub writes: > Hello everyone, > This has some cleanups for and adds multifd support and migration unit tests > for COLO migration. > > Regards, > Lukas > > Signed-off-by: Lukas Straub > --- > Changes in v8: > - Fix peter's review comments > - Link to v7: https://lore.kernel.org/qemu-devel/20260210-colo_unit_test_multifd-v7-0-23bd32f36828@web.de > > Changes in v7: > - Fix peter's review comments > - Link to v6: https://lore.kernel.org/qemu-devel/20260206-colo_unit_test_multifd-v6-0-27779dda139d@web.de > > Changes in v6: > - Fix the crash when running COLO with TCG accel. > - Link to v5: https://lore.kernel.org/qemu-devel/20260203-colo_unit_test_multifd-v5-0-57508b7389f6@web.de > > Changes in v5: > - Remove unused inmports from multifd-colo.c > - Mention the checkpoint overhead of reset to the Q35 fix > - Link to v4: https://lore.kernel.org/qemu-devel/20260130-colo_unit_test_multifd-v4-0-7115ab6f0e77@web.de > > Changes in v4: > - Add cleanup patches to remove migration_incoming_colo_enabled() and MIG_CMD_ENABLE_COLO > - Add more comments to the colo unit test > - Call colo_release_ram_cache() after multifd threads terminate > - Link to v3: https://lore.kernel.org/qemu-devel/20260125-colo_unit_test_multifd-v3-0-ae926ccd8eae@web.de > > Changes in v3: > - Fix peter's review comments. > - Fix COLO with Q35 machine > - Link to v2: https://lore.kernel.org/qemu-devel/20260117-colo_unit_test_multifd-v2-0-ab521777fa51@web.de > > Changes in v2: > - Fix review comments > - Hide stderr in colo migration test since the logged errors are expected > - Add benchmarking data for multifd > - Add myself as maintainer for COLO migration framework > - Link to v1: https://lore.kernel.org/qemu-devel/20251230-colo_unit_test_multifd-v1-0-f9734bc74c71@web.de > > --- > Lukas Straub (17): > MAINTAINERS: Add myself as maintainer for COLO migration framework > MAINTAINERS: Remove Hailiang Zhang from COLO migration framework > colo: Setup ram cache in normal migration path > colo: Replace migration_incoming_colo_enabled() with migrate_colo() > colo: Remove ENABLE_COLO savevm command and mark it as deprecated > ram: Remove colo special-casing > multifd: Move ram state receive into multifd_ram_state_recv() > multifd: Add COLO support > Call colo_release_ram_cache() after multifd threads terminate > colo: Fix crash during device vmstate load > colo: Hold the BQL while sending ram state > colo: Do not hold the BQL while receiving ram state. > migration-test: Add COLO migration unit test > Convert colo main documentation to restructuredText > qemu-colo.rst: Miscellaneous changes > qemu-colo.rst: Add my copyright > qemu-colo.rst: Simplify the block replication setup > > MAINTAINERS | 6 +- > docs/COLO-FT.txt | 334 ---------------------------------- > docs/system/index.rst | 1 + > docs/system/qemu-colo.rst | 362 +++++++++++++++++++++++++++++++++++++ > include/migration/colo.h | 3 - > migration/colo.c | 21 ++- > migration/meson.build | 2 +- > migration/migration.c | 61 ++----- > migration/multifd-colo.c | 44 +++++ > migration/multifd-colo.h | 26 +++ > migration/multifd-nocomp.c | 10 +- > migration/multifd.c | 19 +- > migration/multifd.h | 5 +- > migration/ram.c | 12 +- > migration/savevm.c | 37 +--- > migration/savevm.h | 1 - > migration/trace-events | 1 - > tests/qtest/meson.build | 7 +- > tests/qtest/migration-test.c | 1 + > tests/qtest/migration/colo-tests.c | 198 ++++++++++++++++++++ > tests/qtest/migration/framework.h | 5 + > 21 files changed, 720 insertions(+), 436 deletions(-) > --- > base-commit: 0b91040d23dc8820724a60c811223b777f3bc6b7 > change-id: 20251230-colo_unit_test_multifd-8bf58dcebd46 > > Best regards, Queued, thanks