[pve-devel] [PATCH v2 qemu] block/gluster: provider more context for deprecation warning

Fiona Ebner f.ebner at proxmox.com
Mon Jun 2 13:07:30 CEST 2025


Suggested-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
---

Changes in v2:
* Instead of removing the warning, provide more context.

 block/gluster.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/block/gluster.c b/block/gluster.c
index c3a9555591..71c4a60b02 100644
--- a/block/gluster.c
+++ b/block/gluster.c
@@ -816,7 +816,11 @@ static int qemu_gluster_open(BlockDriverState *bs,  QDict *options,
         goto out;
     }
 
-    warn_report_once("'gluster' is deprecated");
+    warn_report_once("Native 'gluster' support will be deprecated and removed"
+                     " in Proxmox VE 9.");
+    warn_report_once("Before upgrading, switch to accessing your Gluster"
+                     " storage as a directory storage or migrate to another"
+                     " storage type.");
 
     filename = qemu_opt_get(opts, GLUSTER_OPT_FILENAME);
 
-- 
2.39.5





More information about the pve-devel mailing list