[pve-devel] [PATCH qemu-server 12/14] qemu_img convert : add external snapshot support

DERUMIER, Alexandre alexandre.derumier at groupe-cyllene.com
Tue May 27 16:49:01 CEST 2025


>>
>>has_features->{snapshot}->{raw} = 1 :  it's always a storage snapshot
>>(assuming we don't want to implement external qcow2 snapshot with raw
>>backing)
>>
>>has_features->{snapshot}->{qcow2|other_format_than_raw)} = 1 :  qemu
>>internal snapshot
>>has_features->{snapshot}->{qcow2} = 2 :  qemu external snapshot

ah sorry, I speak too fast, rbd is raw, but use qemu internal feature
snapshot to take snasphot, but don't pass the option in qemu-img
convert.

maybe for convert, we need to keep the check for qcow2 format (as it's
the only format working with "-l snapshot.name" option anyway) +  if
the snapshot is external|internal


I need to think a little bit more about this








More information about the pve-devel mailing list