mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-29 22:43:44 +00:00
Fix #1441: Do not unplug controllers when the mirroring is finished
This should not be needed since we call 'block-job-complete' before in qemu_drive_mirror_monitor(), and after benchmarking it does not appear to be needed nor provide a measurable improvement when shutting down the source.
This commit is contained in:
parent
5b97ef2441
commit
46dd42f70c
@ -930,11 +930,6 @@ sub phase3_cleanup {
|
|||||||
|
|
||||||
if ($self->{livemigration}) {
|
if ($self->{livemigration}) {
|
||||||
if ($self->{storage_migration}) {
|
if ($self->{storage_migration}) {
|
||||||
# remove drives referencing the nbd server from source
|
|
||||||
# otherwise vm_stop might hang later on
|
|
||||||
foreach my $drive (keys %{$self->{target_drive}}){
|
|
||||||
PVE::QemuServer::vm_mon_cmd_nocheck($vmid, "device_del", id => $drive);
|
|
||||||
}
|
|
||||||
# stop nbd server on remote vm - requirement for resume since 2.9
|
# stop nbd server on remote vm - requirement for resume since 2.9
|
||||||
my $cmd = [@{$self->{rem_ssh}}, 'qm', 'nbdstop', $vmid];
|
my $cmd = [@{$self->{rem_ssh}}, 'qm', 'nbdstop', $vmid];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user