--- 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
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
--- 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
> 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
--- 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