This series makes 2 changes to the restore functionality for VMs: - Correctly set the HA state to 'started' for HA-managed VMs that are live-restored, since live-restore already implies start-after-create and otherwise the VM is shut down during restore. - When restoring VMs that already are HA resources, set the status of the existing resource instead of trying to add a new HA resource, which would fail and keep the old state of the existing resource.
qemu-server: Michael Köppl (2): create_vm: assume HA state 'started' when live-restoring guests create_vm: set HA state when restoring VM if resource already exists src/PVE/API2/Qemu.pm | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) Summary over all repositories: 1 files changed, 11 insertions(+), 3 deletions(-) -- Generated by git-murpp 0.8.0 _______________________________________________ pve-devel mailing list [email protected] https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
