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 6631A1FF16B for ; Tue, 29 Jul 2025 13:16:10 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id D48A5E882; Tue, 29 Jul 2025 13:16:33 +0200 (CEST) From: Wolfgang Bumiller To: pve-devel@lists.proxmox.com Date: Tue, 29 Jul 2025 13:15:22 +0200 Message-ID: <20250729111557.136012-10-w.bumiller@proxmox.com> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250729111557.136012-1-w.bumiller@proxmox.com> References: <20250729111557.136012-1-w.bumiller@proxmox.com> MIME-Version: 1.0 X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1753787749300 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.078 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 Subject: [pve-devel] [PATCH storage 09/26] plugins: add new content types to all plugindata X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox VE development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" Signed-off-by: Wolfgang Bumiller --- src/PVE/Storage/BTRFSPlugin.pm | 4 +++- src/PVE/Storage/CIFSPlugin.pm | 4 +++- src/PVE/Storage/DirPlugin.pm | 4 +++- src/PVE/Storage/ISCSIDirectPlugin.pm | 2 +- src/PVE/Storage/ISCSIPlugin.pm | 2 +- src/PVE/Storage/LVMPlugin.pm | 10 +++++++++- src/PVE/Storage/LvmThinPlugin.pm | 15 ++++++++++++++- src/PVE/Storage/NFSPlugin.pm | 4 +++- src/PVE/Storage/RBDPlugin.pm | 10 +++++++++- src/PVE/Storage/ZFSPlugin.pm | 2 +- src/PVE/Storage/ZFSPoolPlugin.pm | 15 ++++++++++++++- 11 files changed, 61 insertions(+), 11 deletions(-) diff --git a/src/PVE/Storage/BTRFSPlugin.pm b/src/PVE/Storage/BTRFSPlugin.pm index bd2c0bf..d1c0cf9 100644 --- a/src/PVE/Storage/BTRFSPlugin.pm +++ b/src/PVE/Storage/BTRFSPlugin.pm @@ -35,6 +35,8 @@ sub plugindata { { images => 1, rootdir => 1, + 'vm-vol' => 1, + 'ct-vol' => 1, vztmpl => 1, iso => 1, backup => 1, @@ -42,7 +44,7 @@ sub plugindata { none => 1, import => 1, }, - { images => 1, rootdir => 1 }, + { 'vm-vol' => 1, 'ct-vol' => 1, images => 1, rootdir => 1 }, ], format => [{ raw => 1, subvol => 1 }, 'raw'], 'sensitive-properties' => {}, diff --git a/src/PVE/Storage/CIFSPlugin.pm b/src/PVE/Storage/CIFSPlugin.pm index 75d89c1..5d59c7c 100644 --- a/src/PVE/Storage/CIFSPlugin.pm +++ b/src/PVE/Storage/CIFSPlugin.pm @@ -102,13 +102,15 @@ sub plugindata { { images => 1, rootdir => 1, + 'vm-vol' => 1, + 'ct-vol' => 1, vztmpl => 1, iso => 1, backup => 1, snippets => 1, import => 1, }, - { images => 1 }, + { 'vm-vol' => 1, images => 1 }, ], format => [{ raw => 1, qcow2 => 1, vmdk => 1 }, 'raw'], 'sensitive-properties' => { password => 1 }, diff --git a/src/PVE/Storage/DirPlugin.pm b/src/PVE/Storage/DirPlugin.pm index 9d15f33..53aded3 100644 --- a/src/PVE/Storage/DirPlugin.pm +++ b/src/PVE/Storage/DirPlugin.pm @@ -28,6 +28,8 @@ sub plugindata { { images => 1, rootdir => 1, + 'vm-vol' => 1, + 'ct-vol' => 1, vztmpl => 1, iso => 1, backup => 1, @@ -35,7 +37,7 @@ sub plugindata { none => 1, import => 1, }, - { images => 1, rootdir => 1 }, + { 'vm-vol' => 1, 'ct-vol' => 1, images => 1, rootdir => 1 }, ], format => [{ raw => 1, qcow2 => 1, vmdk => 1, subvol => 1 }, 'raw'], 'sensitive-properties' => {}, diff --git a/src/PVE/Storage/ISCSIDirectPlugin.pm b/src/PVE/Storage/ISCSIDirectPlugin.pm index 62e9026..069a41f 100644 --- a/src/PVE/Storage/ISCSIDirectPlugin.pm +++ b/src/PVE/Storage/ISCSIDirectPlugin.pm @@ -64,7 +64,7 @@ sub type { sub plugindata { return { - content => [{ images => 1, none => 1 }, { images => 1 }], + content => [{ 'vm-vol' => 1, images => 1, none => 1 }, { 'vm-vol' => 1, images => 1 }], select_existing => 1, 'sensitive-properties' => {}, }; diff --git a/src/PVE/Storage/ISCSIPlugin.pm b/src/PVE/Storage/ISCSIPlugin.pm index 7691ec6..7b30955 100644 --- a/src/PVE/Storage/ISCSIPlugin.pm +++ b/src/PVE/Storage/ISCSIPlugin.pm @@ -334,7 +334,7 @@ sub type { sub plugindata { return { - content => [{ images => 1, none => 1 }, { images => 1 }], + content => [{ 'vm-vol' => 1, images => 1, none => 1 }, { 'vm-vol' => 1, images => 1 }], select_existing => 1, 'sensitive-properties' => {}, }; diff --git a/src/PVE/Storage/LVMPlugin.pm b/src/PVE/Storage/LVMPlugin.pm index c1f5474..6694cf2 100644 --- a/src/PVE/Storage/LVMPlugin.pm +++ b/src/PVE/Storage/LVMPlugin.pm @@ -354,7 +354,15 @@ sub type { sub plugindata { return { - content => [{ images => 1, rootdir => 1 }, { images => 1 }], + content => [ + { + 'vm-vol' => 1, + 'ct-vol' => 1, + images => 1, + rootdir => 1, + }, + { 'vm-vol' => 1, images => 1 }, + ], format => [{ raw => 1, qcow2 => 1 }, 'raw'], 'sensitive-properties' => {}, }; diff --git a/src/PVE/Storage/LvmThinPlugin.pm b/src/PVE/Storage/LvmThinPlugin.pm index ccefd0e..cdf0fd0 100644 --- a/src/PVE/Storage/LvmThinPlugin.pm +++ b/src/PVE/Storage/LvmThinPlugin.pm @@ -30,7 +30,20 @@ sub type { sub plugindata { return { - content => [{ images => 1, rootdir => 1 }, { images => 1, rootdir => 1 }], + content => [ + { + 'vm-vol' => 1, + 'ct-vol' => 1, + images => 1, + rootdir => 1, + }, + { + 'vm-vol' => 1, + 'ct-vol' => 1, + images => 1, + rootdir => 1, + }, + ], 'sensitive-properties' => {}, }; } diff --git a/src/PVE/Storage/NFSPlugin.pm b/src/PVE/Storage/NFSPlugin.pm index a8339ef..4c23cd5 100644 --- a/src/PVE/Storage/NFSPlugin.pm +++ b/src/PVE/Storage/NFSPlugin.pm @@ -57,13 +57,15 @@ sub plugindata { { images => 1, rootdir => 1, + 'vm-vol' => 1, + 'ct-vol' => 1, vztmpl => 1, iso => 1, backup => 1, snippets => 1, import => 1, }, - { images => 1 }, + { 'vm-vol' => 1, images => 1 }, ], format => [{ raw => 1, qcow2 => 1, vmdk => 1 }, 'raw'], 'sensitive-properties' => {}, diff --git a/src/PVE/Storage/RBDPlugin.pm b/src/PVE/Storage/RBDPlugin.pm index cf371c7..9f95c73 100644 --- a/src/PVE/Storage/RBDPlugin.pm +++ b/src/PVE/Storage/RBDPlugin.pm @@ -392,7 +392,15 @@ sub type { sub plugindata { return { - content => [{ images => 1, rootdir => 1 }, { images => 1 }], + content => [ + { + 'vm-vol' => 1, + 'ct-vol' => 1, + images => 1, + rootdir => 1, + }, + { 'vm-vol' => 1, images => 1 }, + ], 'sensitive-properties' => { keyring => 1 }, }; } diff --git a/src/PVE/Storage/ZFSPlugin.pm b/src/PVE/Storage/ZFSPlugin.pm index 99d8c8f..a05f521 100644 --- a/src/PVE/Storage/ZFSPlugin.pm +++ b/src/PVE/Storage/ZFSPlugin.pm @@ -175,7 +175,7 @@ sub type { sub plugindata { return { - content => [{ images => 1 }, { images => 1 }], + content => [{ 'vm-vol' => 1, images => 1 }, { 'vm-vol' => 1, images => 1 }], 'sensitive-properties' => {}, }; } diff --git a/src/PVE/Storage/ZFSPoolPlugin.pm b/src/PVE/Storage/ZFSPoolPlugin.pm index cdf5868..0152c89 100644 --- a/src/PVE/Storage/ZFSPoolPlugin.pm +++ b/src/PVE/Storage/ZFSPoolPlugin.pm @@ -20,7 +20,20 @@ sub type { sub plugindata { return { - content => [{ images => 1, rootdir => 1 }, { images => 1, rootdir => 1 }], + content => [ + { + 'vm-vol' => 1, + 'ct-vol' => 1, + images => 1, + rootdir => 1, + }, + { + 'vm-vol' => 1, + 'ct-vol' => 1, + images => 1, + rootdir => 1, + }, + ], format => [{ raw => 1, subvol => 1 }, 'raw'], 'sensitive-properties' => {}, }; -- 2.47.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel