[pve-devel] [PATCH-SERIES qemu-server 0/3] image convert: fix handling qcow2 on snapshot-as-volume-chain dir target
Fiona Ebner
f.ebner at proxmox.com
Wed Jul 30 17:03:14 CEST 2025
As reported by Friedrich, having qcow2 on a snapshot-as-volume-chain
directory storage be the target would fail with:
> Block format 'qcow2' does not support the option 'zeroinit:driver'
First patch is to work around this by just not specifying zeroinit
which leads to a performance penalty.
Following patches would fix the issue by actually using the zeroinit
driver, and we meet and old friend again with 2/3 :P (patch was
proposed once before already).
Fiona Ebner (3):
image convert: avoid combining target image options and zeroinit
filter
image convert: re-use generate_drive_blockdev()
image convert: make using zeroinit with target-image-opts work
src/PVE/QemuServer/QemuImage.pm | 77 ++++++++++++++++++++++----
src/test/run_qemu_img_convert_tests.pl | 47 +++++++++++++---
2 files changed, 107 insertions(+), 17 deletions(-)
--
2.47.2
More information about the pve-devel
mailing list