From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=none (p=none dis=none) header.from=gibson.dropbear.id.au Authentication-Results: passt.top; dkim=pass (2048-bit key; secure) header.d=gibson.dropbear.id.au header.i=@gibson.dropbear.id.au header.a=rsa-sha256 header.s=202502 header.b=U4VJFoy1; dkim-atps=neutral Received: from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by passt.top (Postfix) with ESMTPS id CF7A85A004E for ; Mon, 03 Feb 2025 10:26:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202502; t=1738574768; bh=h7+AGJUQ5y6RVt0MySSYK8qx8mxVDtpuEmXBBsZ3r2g=; h=From:To:Cc:Subject:Date:From; b=U4VJFoy1YoE1gp/bzotQoWDVJJnkkR7e8Pubid9PKiZ044YvBUJpvRLGcyvcceYV3 kkIAC5kdUpnI7XgSSZOOWYY3Uhuip7lNwZDauneK2twQh5EP9XN3AsuKL/aaMSlOXv QnVNP1+DQoNx2Sn1uTIbJtNLVJqxy7E5wTloukhdNNAnYBKHHG/BinXbIHg0bAGkto IO3YyyqAcn6hPLugH5W2luhbDCNtK9admoegWo+fEihWTCy2IRSGUr4gmMN3uLUlvG 2CA+2S2cJ5y+L+M8UtDTD0kgX5IABFrIpiyBxu2CSpYK+fAefMYlck696B5f5SDuQ2 xgoVWsodK/i8w== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4Ymh282791z4wcw; Mon, 3 Feb 2025 20:26:08 +1100 (AEDT) From: David Gibson To: Stefano Brivio , passt-dev@passt.top Subject: [PATCH 0/6] More migration improvements Date: Mon, 3 Feb 2025 20:26:09 +1100 Message-ID: <20250203092615.500163-1-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.48.1 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: RLNEARBEX43KBLZEYGHGFQTFWAQA3OXK X-Message-ID-Hash: RLNEARBEX43KBLZEYGHGFQTFWAQA3OXK X-MailFrom: dgibson@gandalf.ozlabs.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: David Gibson X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Here's another batch of migration changes. The first 5 patches are fixups for fairly minor issues in the existing draft patches. It probably makes sense to fold them into the existing patches. The last one changes the structure of the migration callbacks / sections with a new scheme that's simpler and more flexible. Specifically it will allow callbacks which "stream" data in a format designed for migration rather than being identical to the in memory structure. David Gibson (6): vhost-user: Change different vhost-user messages to trace() level migrate, flow: Abort migration on repair_flush() failure migrate: Clearer debug message in migrate_request() migrate: Handle sending header section from data sections util: read_remainder should take const pointer to iovec migrate: Make migration handlers simpler and more flexible flow.c | 17 +++- flow.h | 6 +- migrate.c | 277 ++++++++++++++++++--------------------------------- migrate.h | 54 ++++++---- util.c | 2 +- util.h | 2 +- vhost_user.c | 8 +- vu_common.c | 6 +- 8 files changed, 155 insertions(+), 217 deletions(-) -- 2.48.1