[pve-devel] applied: [PATCH qemu-server] api2: fix vmconfig_apply_pending errors handling

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Jul 6 12:44:52 CEST 2021


On 06.07.21 00:02, Alexandre Derumier wrote:
> commit
> https://git.proxmox.com/?p=qemu-server.git;a=commit;h=eb5e482ded9ae6aeb6575de9441b79b90a5de531
> 
> have introduced error handling for offline pending apply,
> 
> -               PVE::QemuServer::vmconfig_apply_pending($vmid, $conf, $storecfg, $running);
> +               PVE::QemuServer::vmconfig_apply_pending($vmid, $conf, $storecfg, $running, $errors);
> 
>  sub vmconfig_apply_pending {
> -    my ($vmid, $conf, $storecfg) = @_;
> +    my ($vmid, $conf, $storecfg, $errors) = @_;
> 
> but they was wrong nonused $running param, so currently $errors are not correctly handled
> 
> Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
> ---
>  PVE/API2/Qemu.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
>

applied, with Oguz T-b, thanks!





More information about the pve-devel mailing list