Re: [pve-devel] [PATCH v4 qemu-server 11/11] qcow2: add external snapshot support

2025-04-05 Thread Fabian Grünbichler
commit description missing here as well.. I haven't tested this (or the first patches doing the blockdev conversion) yet, but I see a few bigger design/architecture issues left (besides FIXMEs for missing pieces that previously worked ;)): - we should probably move the decision whether a snapsh

Re: [pve-devel] [PATCH v4 qemu-server 11/11] qcow2: add external snapshot support

2025-04-04 Thread Fabian Grünbichler
> DERUMIER, Alexandre hat am 04.04.2025 > 13:31 CEST geschrieben: > Hi Fabian, > > >>the first one is the renaming of a blockdev while it is used, which > >>is currently done like this: > >>-- "link" snapshot path to make it available under old and new name > >>-- handle blockdev additions/reo

Re: [pve-devel] [PATCH v4 qemu-server 11/11] qcow2: add external snapshot support

2025-04-04 Thread DERUMIER, Alexandre via pve-devel
--- Begin Message --- > I have reused vdisk_free for this one, as I'm seeing a comment about > $running deprecation in Storage.pm > > # FIXME PVE 8.x remove $running parameter (needs APIAGE reset) > sub volume_snapshot_delete { >     my ($cfg, $volid, $snap, $running) = @_; > > > vdisk_free have

Re: [pve-devel] [PATCH v4 qemu-server 11/11] qcow2: add external snapshot support

2025-04-04 Thread DERUMIER, Alexandre via pve-devel
--- Begin Message --- Hi Fabian, >>the first one is the renaming of a blockdev while it is used, which >>is currently done like this: >>-- "link" snapshot path to make it available under old and new name >>-- handle blockdev additions/reopening/backing-file updates/deletions >>on the qemu layer >>

Re: [pve-devel] [PATCH v4 qemu-server 11/11] qcow2: add external snapshot support

2025-04-02 Thread DERUMIER, Alexandre via pve-devel
--- Begin Message --- >>- we should probably move the decision whether a snapshot is done on >>the storage layer or by qemu into the control of the storage plugin, >>especially since we are currently cleaning that API up to allow >>easier implementation of external plugins Agree with that indeed,

[pve-devel] [PATCH v4 qemu-server 11/11] qcow2: add external snapshot support

2025-03-11 Thread Alexandre Derumier via pve-devel
--- Begin Message --- Signed-off-by: Alexandre Derumier --- PVE/QemuConfig.pm | 4 +- PVE/QemuServer.pm | 226 +--- PVE/QemuServer/Drive.pm | 4 + 3 files changed, 220 insertions(+), 14 deletions(-) diff --git a/PVE/QemuConfig.pm b/PVE/QemuConf