[pve-devel] [PATCH pve-storage 2/2] common: qemu_img_create: add backing_file support

DERUMIER, Alexandre alexandre.derumier at groupe-cyllene.com
Tue May 27 10:55:18 CEST 2025


>>I'd prefer having a second dedicated function
>>qemu_img_create_qcow2_with_backing() rather than an interface where
>>some
>>parameters need to be undef depending on how you want to use it. It
>>also
>>doesn't require a format parameter, because we only allow it for
>>qcow2.

ok !



>  
> - my $cmd = ['/usr/bin/qemu-img', 'create', '-b',
> "../$basevmid/$basename",
> -    '-F', $format, '-f', 'qcow2', $path];

>>...but the old command was using "-F $format -f qcow2"!

ah yes, sorry, thanks !




More information about the pve-devel mailing list