On November 6, 2020 3:30 pm, Fabian Ebner wrote: > Signed-off-by: Fabian Ebner <f.eb...@proxmox.com> > --- > > same comment as for the corresponding LXC patch > > PVE/QemuMigrate.pm | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/PVE/QemuMigrate.pm b/PVE/QemuMigrate.pm > index f2c2b07..10cf31a 100644 > --- a/PVE/QemuMigrate.pm > +++ b/PVE/QemuMigrate.pm > @@ -569,6 +569,11 @@ sub sync_disks { > > $self->{volume_map}->{$volid} = $new_volid; > $self->log('info', "volume '$volid' is '$new_volid' on the > target\n"); > + > + eval { PVE::Storage::deactivate_volumes($storecfg, [$volid]); }; > + if (my $err = $@) { > + $self->log('warn', $err); > + } > } > } > }; > -- > 2.20.1 > > > > _______________________________________________ > pve-devel mailing list > pve-devel@lists.proxmox.com > https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel > > >
_______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel