qcow2: add external snapshot support

add a snapext option to enable the feature

When a snapshot is taken, the current volume is renamed to snap volname
and a current image is created with the snap volume as backing file

Signed-off-by: Alexandre Derumier <alexandre.derumier@groupe-cyllene.com>
This commit is contained in:
Alexandre Derumier
2025-07-09 18:22:00 +02:00
committed by Wolfgang Bumiller
parent b63147f5df
commit ccbced53c5
5 changed files with 289 additions and 19 deletions

View File

@ -479,7 +479,6 @@ sub volume_snapshot_rollback {
}
}
# FIXME PVE 8.x remove $running parameter (needs APIAGE reset)
sub volume_snapshot_delete {
my ($cfg, $volid, $snap, $running) = @_;