[PATCH FOLLOW-UP storage 1/3] helpers: make qemu_img* storage config independent

DERUMIER, Alexandre alexandre.derumier at groupe-cyllene.com
Mon Jul 14 08:34:38 CEST 2025


>> sub qemu_img_resize {
>>-    my ($scfg, $path, $format, $size, $timeout) = @_;
>>+    my ($scfg, $path, $format, $size, $preallocation, $timeout) =
@_;

you have forgot to remove the $scfg param, so 
it's breaking resize for both plugin && lvmplugin


Plugin.pm:    PVE::Storage::Common::qemu_img_resize($path, $format,
$size, $preallocation, 10);

LVMPlugin.pm:        PVE::Storage::Common::qemu_img_resize($path,
$format, $size, $preallocation, 10);


More information about the pve-devel mailing list