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=202412 header.b=HiXM3wu3; dkim-atps=neutral Received: from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by passt.top (Postfix) with ESMTPS id 3BBE45A0622 for ; Thu, 30 Jan 2025 09:33:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202412; t=1738226003; bh=bscF7JceZ9GrYWL5b56kd/UK/dA6g3Tx6zomOUxxuLc=; h=From:To:Cc:Subject:Date:From; b=HiXM3wu3+3vSoEJdaDqD6+2MgKhCHsQfdzfCcGmIwDcx6d/me4LEAs1NwMXXldhJm I+jU/OJPKT4Y6fHaUHMHaku18zaHkd8vIicNLBTnMA0n5nhk+7RlP3EWo5S4aVrUUu 8DNryb90IvzbqlZUrU+14KWcJCpATDfeyKMJ4brMryVVQwEW/n4C19xjWP/oxHCSaE v5yW+HUP0MYD8o2s3q+CMde4Fkt0r7ZHHQYt9Hg2xTcJIWm9alo7D9tadMfBcVHJdl 9o0AuwhUvqcamUNwWCKCMFt7XrPV2db3cnGhbEtLa+0euIJh8buf1D7w6mMVwnw4dA rt+i6bJR7M+Pw== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4YkC376hSXz4wp0; Thu, 30 Jan 2025 19:33:23 +1100 (AEDT) From: David Gibson To: passt-dev@passt.top, Stefano Brivio Subject: [PATCH 0/5] RFC: Assorted migration improvements Date: Thu, 30 Jan 2025 19:33:25 +1100 Message-ID: <20250130083330.917030-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: GNUERQIQEBWL2OUU35CW5U22BO5BMRSH X-Message-ID-Hash: GNUERQIQEBWL2OUU35CW5U22BO5BMRSH 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 are some things that I think improve the draft migration logic. This is based on both the draft migration series (v2) and my epoll_del() series. Feel free to fold into the existing patches if that seems sensible. David Gibson (5): migrate: Add passt-repair to .gitignore migrate: vu_migrate_{source,target}() aren't actually vu speciic migrate: Move repair_sock_init() to vu_init() migrate: Make more handling common rather than vhost-user specific migrate: Don't handle the migration channel through epoll .gitignore | 1 + epoll_type.h | 2 - migrate.c | 148 +++++++++++++++++++++++++++++++++++++++++++++++---- migrate.h | 12 ++--- passt.c | 6 +-- passt.h | 8 +++ tap.c | 3 -- vhost_user.c | 58 +++----------------- virtio.h | 4 -- vu_common.c | 89 ------------------------------- vu_common.h | 2 +- 11 files changed, 162 insertions(+), 171 deletions(-) -- 2.48.1