mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-01 13:36:15 +00:00
QemuMigrate: phase2_cleanup misses migrate_cancel
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
(cherry picked from commit 19168b91ae
)
This commit is contained in:
parent
5159bf0d41
commit
a04a32bdc2
@ -470,6 +470,12 @@ sub phase2_cleanup {
|
||||
|
||||
$self->log('info', "aborting phase 2 - cleanup resources");
|
||||
|
||||
$self->log('info', "migrate_cancel");
|
||||
eval {
|
||||
PVE::QemuServer::vm_mon_cmd_nocheck($vmid, "migrate_cancel");
|
||||
};
|
||||
$self->log('info', "migrate_cancel error: $@") if $@;
|
||||
|
||||
my $conf = $self->{vmconf};
|
||||
delete $conf->{lock};
|
||||
eval { PVE::QemuServer::update_config_nolock($vmid, $conf, 1) };
|
||||
|
Loading…
Reference in New Issue
Block a user