[pve-devel] [PATCH v2 storage 2/7] plugin: file size info: remove ancient 'cow' from formats

Fiona Ebner f.ebner at proxmox.com
Wed Mar 5 11:49:18 CET 2025


The format was dropped in QEMU binary version 2.2 with commit
550830f935 ("block: delete cow block driver").

This follows qemu-server commit "drive: remove ancient 'cow' from
formats".

Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
---
 src/PVE/Storage/Plugin.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PVE/Storage/Plugin.pm b/src/PVE/Storage/Plugin.pm
index 65cf43f..79f6f08 100644
--- a/src/PVE/Storage/Plugin.pm
+++ b/src/PVE/Storage/Plugin.pm
@@ -953,7 +953,7 @@ sub free_image {
 }
 
 # TODO taken from PVE/QemuServer/Drive.pm, avoiding duplication would be nice
-my @checked_qemu_img_formats = qw(raw cow qcow qcow2 qed vmdk cloop);
+my @checked_qemu_img_formats = qw(raw qcow qcow2 qed vmdk cloop);
 
 # set $untrusted if the file in question might be malicious since it isn't
 # created by our stack
-- 
2.39.5





More information about the pve-devel mailing list