[pve-devel] [PATCH qemu-server 1/1] Add pre/post-restore hooks to VMs

2022-11-10 Thread Stefan Hanreich
Signed-off-by: Stefan Hanreich --- PVE/API2/Qemu.pm | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index a539b5c..3d4079e 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm @@ -888,6 +888,7 @@ __PACKAGE__->register_method({

Re: [pve-devel] [PATCH qemu-server 1/1] Add pre/post-restore hooks to VMs

2022-09-22 Thread Wolfgang Bumiller
On Thu, Sep 22, 2022 at 03:19:43PM +0200, Stefan Hanreich wrote: > Signed-off-by: Stefan Hanreich > --- > > There might be a better way to differentiate the different errors from > restorefn in the error handling logic, although I think in this case it is > still fine. This might get a bit messy

[pve-devel] [PATCH qemu-server 1/1] Add pre/post-restore hooks to VMs

2022-09-22 Thread Stefan Hanreich
Signed-off-by: Stefan Hanreich --- There might be a better way to differentiate the different errors from restorefn in the error handling logic, although I think in this case it is still fine. This might get a bit messy though if in the future someone adds another source for errors. Maybe add a s