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 CFDD3CAC5A7 for ; Sat, 20 Sep 2025 15:45:45 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uzzkn-0007zo-Cg; Sat, 20 Sep 2025 11:44:01 -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 1uzzka-0007uI-Ra; Sat, 20 Sep 2025 11:43:50 -0400 Received: from mgamail.intel.com ([198.175.65.11]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uzzkX-0001zC-PG; Sat, 20 Sep 2025 11:43:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1758383026; x=1789919026; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=KBVKhGRJQV5wgv2/eqkpjFKbdVkp94L7UsAfeGvMdk8=; b=KDtXVzOJCE0qJy7hBy5N7i+gd+oM1VYEK9Wj92MtBxZ9KoZDkKIu3op+ AEvsDbtZnU8dKzG2KpCP70QdlQaTFiQ2YpLimrmju2Q+wr1nC06TQP8zM lNZ3ATbMv91za/nT95OudhmVcM1Re2CDad1KXDN+CzNGkE1BJ2dJBcBSu 0LMzW5A/x15VXjqDtTPyeg3MnODD8Zvwavy9pzF96mzewXquxymsM5cC8 3PyiAko+/JxMSPABeM9JqZeTsXeyK0l5EBzq2JENEZOBHrFU/KOeUWfOp Lh8Rpmeh3JETak31Zk19pLxd6HRBpf93jZg0HARInFVDwKgzRlxfdvfaN g==; X-CSE-ConnectionGUID: afuqSYKMQlO+/mLwzrJxFw== X-CSE-MsgGUID: 0JCTr3grQ4yK6oXZ/GjJFQ== X-IronPort-AV: E=McAfee;i="6800,10657,11559"; a="70955487" X-IronPort-AV: E=Sophos;i="6.18,281,1751266800"; d="scan'208";a="70955487" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Sep 2025 08:43:40 -0700 X-CSE-ConnectionGUID: VbbyAvJlRjKyh1MIxi3C4A== X-CSE-MsgGUID: wfWwVBM+TpyoiE1JbvN/WQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.18,281,1751266800"; d="scan'208";a="181349421" Received: from liuzhao-optiplex-7080.sh.intel.com ([10.239.160.39]) by fmviesa004.fm.intel.com with ESMTP; 20 Sep 2025 08:43:37 -0700 From: Zhao Liu To: Paolo Bonzini , Manos Pitsidianakis Cc: qemu-devel@nongnu.org, qemu-rust@nongnu.org, Zhao Liu Subject: [PATCH v2 00/12] rust: miscellaneous cleanup & HPET #property conversion Date: Sun, 21 Sep 2025 00:05:08 +0800 Message-Id: <20250920160520.3699591-1-zhao1.liu@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=198.175.65.11; 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.045, 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_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_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-rust@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: QEMU Rust-related patches and discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-rust-bounces+qemu-rust=archiver.kernel.org@nongnu.org Sender: qemu-rust-bounces+qemu-rust=archiver.kernel.org@nongnu.org Hi, This series include: * cleanup for .gitignore of subproject. * cleanup for clippy error & warnings based on v1.83. * support bit property in #property. * HPET #property conversion. * get rid of the legacy declare_properties & define_property. And this series is based on the commit 7a28f05aafb7 of Paolo's rust-next branch. Changes since v1 * Use attrs to parse "bit" field in #property. * Squash the "VALUE" renaming patch into the patch of "bit" property support. * Add test case of bit property. Thanks and Best Regards, Zhao --- Manos Pitsidianakis (2): rust/qdev: use addr_of! in QDevProp rust/qdev: Refine the documentation for QDevProp trait Zhao Liu (10): subprojects: Update .gitignore for proc-macro2 and syn subprojects: Ignore .wraplock file generated by meson v1.9.0 rust/qemu-macros: Fix Clippy's complaints about lambda parameter naming rust/common/uninit: Fix Clippy's complaints about lifetime rust/qdev: Support property info for more common types rust/qdev: Support bit property in #property macro rust/qdev: Test bit property for #property rust/hpet: Clean up type mismatch for num_timers property rust/hpet: Convert qdev properties to #property macro rust/qdev: Drop declare_properties & define_property macros rust/common/src/uninit.rs | 4 +- rust/hw/core/src/qdev.rs | 105 ++++++++++-------------------- rust/hw/timer/hpet/src/device.rs | 55 ++-------------- rust/qemu-macros/src/lib.rs | 22 +++++-- rust/qemu-macros/src/tests.rs | 107 ++++++++++++++++++++++++++++++- subprojects/.gitignore | 5 +- 6 files changed, 168 insertions(+), 130 deletions(-) -- 2.34.1