From nobody Fri Apr 4 05:00:10 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail header.i=@fujitsu.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1740531754; cv=none; d=zohomail.com; s=zohoarc; b=dzEGN4zEcQb7zPJ3F5TH1tf7tLBC57CtS5Ff034IOEX4t7nwRAj0gSc3wnk7Kubi34U90ET3fNPS1t56GwfHRXT9Cy9ezSU41ck3iztnn/lWZLrIPVHvsZ6wBdpuK2iC6POhvYVRtxCzTaCQAWcsWOJj3eUz8tThXmJStITY/dA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1740531754; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:References:Sender:Subject:Subject:To:To:Message-Id; bh=GYYIDXs/9qLo4Grrdu1dyI8YJeiOKp7ljQtxlvxOQiE=; b=N1g/ZAKPXGIqbXJlLUODNM+FjJ3WELHk1X/AYRejxe6jW8v8fIpuiiLot+gM4Yx8xWAbmi7h2K2FSFBW3olvydNbxjxGvSK7pNO/CsdB1kJVgyr7sQ4pZ+ANYJPbVd5KEHIh1bseQjryloPum9drnhi95obWhhU+JqQB2yH0DLM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail header.i=@fujitsu.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1740531754639997.6260814882287; Tue, 25 Feb 2025 17:02:34 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tn5o8-00048M-Ar; Tue, 25 Feb 2025 20:01:52 -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 1tn5nf-0003rU-0m for qemu-devel@nongnu.org; Tue, 25 Feb 2025 20:01:24 -0500 Received: from esa10.hc1455-7.c3s2.iphmx.com ([139.138.36.225]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tn5nb-0004xu-DT for qemu-devel@nongnu.org; Tue, 25 Feb 2025 20:01:22 -0500 Received: from unknown (HELO yto-r4.gw.nic.fujitsu.com) ([218.44.52.220]) by esa10.hc1455-7.c3s2.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Feb 2025 10:01:09 +0900 Received: from yto-m2.gw.nic.fujitsu.com (yto-nat-yto-m2.gw.nic.fujitsu.com [192.168.83.65]) by yto-r4.gw.nic.fujitsu.com (Postfix) with ESMTP id 25374D5052 for ; Wed, 26 Feb 2025 10:01:07 +0900 (JST) Received: from edo.cn.fujitsu.com (edo.cn.fujitsu.com [10.167.33.5]) by yto-m2.gw.nic.fujitsu.com (Postfix) with ESMTP id DE24BD50B3 for ; Wed, 26 Feb 2025 10:01:06 +0900 (JST) Received: from iaas-rdma.. (unknown [10.167.135.44]) by edo.cn.fujitsu.com (Postfix) with ESMTP id 4143B1A000B; Wed, 26 Feb 2025 09:01:06 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fujitsu.com; i=@fujitsu.com; q=dns/txt; s=fj2; t=1740531679; x=1772067679; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=CSirQC4EObPjqlof3ujDjuP/Nb1WlYAJXM11TAR57ys=; b=UEe6KEA4TgKTS+YsedFVSwq6ywx63b7dIKcw9bA8RWv/UFIvzq5XzkuQ ZFYTgAItb1sHTUHCrocrGKtSnfgOFftJcDmMcTwNjX6ytaCvR3JMe1A+l FblPraa0jNN4FRcRb/847aFYX+SSzyh4mVRRSI/BJl93WrFm3OCstUBKH 4XCCaMHDR6nPYuB+wH5UCAoJkFolc4nHu+P3fz5CP+drc97p9mLD7I0Lb 2guPz3f5BIiyvv7g7JvdhB5y4bQYIFR11HCNIlbwYvmDmWFeVBKroqsAq XV7MoQirAbiMsiUrz1Y3s7dLMBvqGs4PZ9SOhYzWM546FPtTSHt4fFR9i Q==; X-CSE-ConnectionGUID: 4go/2eHGTsSR5RNNtYJw2w== X-CSE-MsgGUID: flp0eF/eTBe39ir6kndDxA== X-IronPort-AV: E=McAfee;i="6700,10204,11356"; a="178520693" X-IronPort-AV: E=Sophos;i="6.13,316,1732546800"; d="scan'208";a="178520693" To: qemu-devel@nongnu.org Cc: Peter Xu , Fabiano Rosas , Laurent Vivier , Paolo Bonzini , Li Zhijian Subject: [PATCH v3 3/6] migration: disable RDMA + postcopy-ram Date: Wed, 26 Feb 2025 09:02:35 +0800 Message-ID: <20250226010238.727348-4-lizhijian@fujitsu.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20250226010238.727348-1-lizhijian@fujitsu.com> References: <20250226010238.727348-1-lizhijian@fujitsu.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=139.138.36.225; envelope-from=lizhijian@fujitsu.com; helo=esa10.hc1455-7.c3s2.iphmx.com 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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Li Zhijian From: Li Zhijian via Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1740531756630019000 Content-Type: text/plain; charset="utf-8" It's believed that RDMA + postcopy-ram has been broken for a while. Rather than spending time re-enabling it, let's simply disable it as a trade-off. Reviewed-by: Peter Xu Signed-off-by: Li Zhijian --- V3: - collect Reviewed tag - reoder: 6th -> 3th --- migration/migration.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/migration/migration.c b/migration/migration.c index 2eacae25e0e..d414a4b1379 100644 --- a/migration/migration.c +++ b/migration/migration.c @@ -251,6 +251,10 @@ migration_capabilities_and_transport_compatible(Migrat= ionAddress *addr, error_setg(errp, "RDMA and multifd can't be used together"); return false; } + if (migrate_postcopy_ram()) { + error_setg(errp, "RDMA and postcopy-ram can't be used together= "); + return false; + } } =20 return true; --=20 2.44.0