From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 167481FF141 for ; Mon, 30 Mar 2026 16:41:02 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id DDD0F358F8; Mon, 30 Mar 2026 16:41:24 +0200 (CEST) From: Daniel Kral To: pve-devel@lists.proxmox.com Subject: [PATCH perl-rs v3 12/40] pve-rs: resource-scheduling: move pve_static into resource_scheduling module Date: Mon, 30 Mar 2026 16:30:21 +0200 Message-ID: <20260330144101.668747-13-d.kral@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260330144101.668747-1-d.kral@proxmox.com> References: <20260330144101.668747-1-d.kral@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1774881613652 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.063 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: GDWHL7NAFDCPC2CZIXEX547KAKMYMXTR X-Message-ID-Hash: GDWHL7NAFDCPC2CZIXEX547KAKMYMXTR X-MailFrom: d.kral@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: This is in preparation to add the upcoming pve_dynamic bindings, which shares much of the same code paths as the pve_static implementation. Signed-off-by: Daniel Kral Reviewed-by: Dominik Rusovac --- changes v2 -> v3: - none pve-rs/src/bindings/mod.rs | 3 +-- pve-rs/src/bindings/resource_scheduling/mod.rs | 4 ++++ .../pve_static.rs} | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 pve-rs/src/bindings/resource_scheduling/mod.rs rename pve-rs/src/bindings/{resource_scheduling_static.rs => resource_scheduling/pve_static.rs} (98%) diff --git a/pve-rs/src/bindings/mod.rs b/pve-rs/src/bindings/mod.rs index c21b328..853a3dd 100644 --- a/pve-rs/src/bindings/mod.rs +++ b/pve-rs/src/bindings/mod.rs @@ -3,8 +3,7 @@ mod oci; pub use oci::pve_rs_oci; -mod resource_scheduling_static; -pub use resource_scheduling_static::pve_rs_resource_scheduling_static; +pub mod resource_scheduling; mod tfa; pub use tfa::pve_rs_tfa; diff --git a/pve-rs/src/bindings/resource_scheduling/mod.rs b/pve-rs/src/bindings/resource_scheduling/mod.rs new file mode 100644 index 0000000..af1fb6b --- /dev/null +++ b/pve-rs/src/bindings/resource_scheduling/mod.rs @@ -0,0 +1,4 @@ +//! Resource scheduling related bindings. + +mod pve_static; +pub use pve_static::pve_rs_resource_scheduling_static; diff --git a/pve-rs/src/bindings/resource_scheduling_static.rs b/pve-rs/src/bindings/resource_scheduling/pve_static.rs similarity index 98% rename from pve-rs/src/bindings/resource_scheduling_static.rs rename to pve-rs/src/bindings/resource_scheduling/pve_static.rs index b8eac57..a83a9ab 100644 --- a/pve-rs/src/bindings/resource_scheduling_static.rs +++ b/pve-rs/src/bindings/resource_scheduling/pve_static.rs @@ -2,7 +2,7 @@ pub mod pve_rs_resource_scheduling_static { //! The `PVE::RS::ResourceScheduling::Static` package. //! - //! Provides bindings for the resource scheduling module. + //! Provides bindings for the static resource scheduling module. //! //! See [`proxmox_resource_scheduling`]. -- 2.47.3