qemu-server/PVE
Alexandre Derumier 4a5cb613d3 api2: fix vmconfig_apply_pending errors handling
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

Fixes: eb5e482ded ("vmconfig_apply_pending: add error handling")
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Tested-by: Oguz Bektas <o.bektas@proxmox.com>
2021-07-06 12:40:43 +02:00
..
API2 api2: fix vmconfig_apply_pending errors handling 2021-07-06 12:40:43 +02:00
CLI cli tools: correctly handle warnings task status 2021-06-23 12:26:49 +02:00
QemuServer drive: factor out read-only helper 2021-06-23 12:27:54 +02:00
VZDump vzdump: add master key support 2021-06-02 16:49:00 +02:00
Makefile buildsys: use $(MAKE) instead of make 2019-09-24 18:06:16 +02:00
QemuConfig.pm snapshot: set migration caps before savevm-start 2021-03-16 20:44:51 +01:00
QemuMigrate.pm allow migrating raw btrfs volumes 2021-06-23 12:26:40 +02:00
QemuServer.pm further improve on #3329, ensure write-back is used over write-around 2021-07-05 20:47:50 +02:00
QMPClient.pm tree wide cleanups 2020-10-16 18:03:32 +02:00