Re: [pve-devel] [PATCH qemu-server 13/14] blockdev: add backing_chain support

2025-05-28 Thread DERUMIER, Alexandre via pve-devel
--- Begin Message --- Message initial De: Fiona Ebner À: Proxmox VE development discussion , f.gruenbich...@proxmox.com Cc: "DERUMIER, Alexandre" Objet: Re: [pve-devel] [PATCH qemu-server 13/14] blockdev: add backing_chain support Date: 28/05/2025 12:07:14 Am 28.0

Re: [pve-devel] [PATCH qemu-server 13/14] blockdev: add backing_chain support

2025-05-28 Thread Fiona Ebner
Am 28.05.25 um 11:08 schrieb DERUMIER, Alexandre via pve-devel: > perl question: how to call a resursive private sub ? (it don't seem to > allow it) AFAIK, you can do it by declaring it up-front: > [I] root@pve8a1 ~# cat asdf.pm > use strict; > use warnings; > > package Private; > > my sub add

Re: [pve-devel] [PATCH qemu-server 13/14] blockdev: add backing_chain support

2025-05-28 Thread DERUMIER, Alexandre via pve-devel
--- Begin Message --- > >   > +sub generate_backing_blockdev { >>make this private? perl question: how to call a resursive private sub ? (it don't seem to allow it) > +    my ($storecfg, $snapshots, $deviceid, $drive, $snap_id) = @_; > + > +    my $snapshot = $snapshots->{$snap_id}; > +    my

Re: [pve-devel] [PATCH qemu-server 13/14] blockdev: add backing_chain support

2025-05-09 Thread Fabian Grünbichler
> Alexandre Derumier via pve-devel hat am > 22.04.2025 13:51 CEST geschrieben: > We need to define name-nodes for all backing chain images, > to be able to live rename them with blockdev-reopen > > For linked clone, we don't need to definebase image(s) chain. > They are auto added with #block

[pve-devel] [PATCH qemu-server 13/14] blockdev: add backing_chain support

2025-04-22 Thread Alexandre Derumier via pve-devel
--- Begin Message --- We need to define name-nodes for all backing chain images, to be able to live rename them with blockdev-reopen For linked clone, we don't need to definebase image(s) chain. They are auto added with #block nodename. Signed-off-by: Alexandre Derumier --- PVE/QemuServer/Drive