From nobody Tue Feb 10 03:19:49 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass header.i=@intel.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=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1754568681; cv=none; d=zohomail.com; s=zohoarc; b=dvU4snhilmuQJW+EhxdCiqW9bVVNZxUOnd+saZpj+DveH16F8/ISgbwdZG2OavLcuvBEnck8E7GPUKaX0Q7ShndRKupSy0cLi+DFYBCvJGMoqVrzLnS2MAhYPA7XxCoHgmPkg3/4pH0hawKYaPVo3iPtE2qlj2cvxNWwWO6HG5Y= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1754568681; 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:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=jCKVp5eIFZsTeTQjCigPNOh8OcoS0FoHxZsnDSl70EA=; b=LkDaeKrWp7Xq61EoKa29O2aea52Ipa/b1xaK56/wPT2qtwKSM6IXCYBaULY4Ki5fWclg472qDH1INGxnVErUPkTm8tZQ130e0Fh0SOo2YYQOU1hD5XR0blN4l+633LTbgskSxmO6CAdf0DaujW2Ucw/3uoM/usQsmBgfZ2jvoHY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=@intel.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 1754568681281402.46360642778234; Thu, 7 Aug 2025 05:11:21 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ujzS9-0003B7-Vc; Thu, 07 Aug 2025 08:10:38 -0400 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 1ujzRH-000860-2B; Thu, 07 Aug 2025 08:09:44 -0400 Received: from mgamail.intel.com ([192.198.163.15]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ujzRD-00059l-HN; Thu, 07 Aug 2025 08:09:42 -0400 Received: from orviesa009.jf.intel.com ([10.64.159.149]) by fmvoesa109.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Aug 2025 05:09:37 -0700 Received: from liuzhao-optiplex-7080.sh.intel.com ([10.239.160.39]) by orviesa009.jf.intel.com with ESMTP; 07 Aug 2025 05:09:35 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1754568579; x=1786104579; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=+2PPqAmGP2afLZuYwnnBLPtIfko7sfve40L5NTEpw5c=; b=UbG1DQR+04lNsiVHiiD4OqmtRO3BXYCD+iCW4d9HZujDj3AnmdAl6yYn U18Axp+1OJ9TbScb9OrPTtksuqN+sIMsdtYvhP6S8I0QllyxLq95aav11 BRGE1gFsdCzli0dEMPVnYFRWPpH7f2NVx2MaFh3qojkWtF/yVhiESwVKy bU8VsHzxs+VN7e3A0N15QwF6z/eG51UMP7edU7cpYdoCuAOSRokM3va+x n3/aDTV4zNSRXg1C5SFaRl6vWUdt5mer3UHjbPakaoce6Dlou9cPA9n0X 779UZ0QZPtuTOnJIph3dJzZ7d2/S6ekd9udT3cKwHyo0LsVLfG4GL6P4+ g==; X-CSE-ConnectionGUID: gvJvcOGmQ1e0tv9Leoeblg== X-CSE-MsgGUID: yZHVuPUgR+y642yn3bVE1A== X-IronPort-AV: E=McAfee;i="6800,10657,11514"; a="57036790" X-IronPort-AV: E=Sophos;i="6.17,271,1747724400"; d="scan'208";a="57036790" X-CSE-ConnectionGUID: PIMXtGVjQdGLyEtidg3p6Q== X-CSE-MsgGUID: sYn8Zyr0S9mIya0bZk6/yg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.17,271,1747724400"; d="scan'208";a="164701125" From: Zhao Liu To: Paolo Bonzini , Peter Xu , David Hildenbrand , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Manos Pitsidianakis , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Thomas Huth , Junjie Mao Cc: qemu-devel@nongnu.org, qemu-rust@nongnu.org, Dapeng Mi , Chuanxiao Dong , Zhao Liu Subject: [RFC 11/26] rust/cargo: Specify the patched vm-memory crate Date: Thu, 7 Aug 2025 20:30:12 +0800 Message-Id: <20250807123027.2910950-12-zhao1.liu@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250807123027.2910950-1-zhao1.liu@intel.com> References: <20250807123027.2910950-1-zhao1.liu@intel.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=192.198.163.15; envelope-from=zhao1.liu@intel.com; helo=mgamail.intel.com X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @intel.com) X-ZM-MESSAGEID: 1754568682296124100 Content-Type: text/plain; charset="utf-8" Signed-off-by: Zhao Liu --- rust/Cargo.lock | 1 - rust/Cargo.toml | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/rust/Cargo.lock b/rust/Cargo.lock index 7aedae239f66..f1bb2457e133 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -200,7 +200,6 @@ checksum =3D "49874b5167b65d7193b8aba1567f5c7d93d001caf= c34600cee003eda787e483f" [[package]] name =3D "vm-memory" version =3D "0.16.1" -source =3D "git+https://github.com/rust-vmm/vm-memory.git?rev=3D5eb996a060= d7ca3844cbd2f10b1d048c0c91942f#5eb996a060d7ca3844cbd2f10b1d048c0c91942f" dependencies =3D [ "thiserror", "winapi", diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 0868e1b42680..ecb31647f93b 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -15,6 +15,9 @@ license =3D "GPL-2.0-or-later" repository =3D "https://gitlab.com/qemu-project/qemu/" rust-version =3D "1.77.0" =20 +[patch."https://github.com/rust-vmm/vm-memory.git"] +vm-memory =3D { path =3D "./../subprojects/vm-memory-0.16" } + [workspace.lints.rust] unexpected_cfgs =3D { level =3D "deny", check-cfg =3D [ 'cfg(MESON)', 'cfg(HAVE_GLIB_WITH_ALIGNED_ALLOC)', --=20 2.34.1