mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-29 20:58:54 +00:00
migrate: fix auto-vivification in cleanup_bitmaps
this does not currently trigger since nothing uses $self->{target_drive} afterwards. Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
88126be3f7
commit
7f5fb49a7c
@ -554,7 +554,7 @@ sub cleanup_remotedisks {
|
|||||||
|
|
||||||
sub cleanup_bitmaps {
|
sub cleanup_bitmaps {
|
||||||
my ($self) = @_;
|
my ($self) = @_;
|
||||||
foreach my $drive (%{$self->{target_drive}}) {
|
foreach my $drive (keys %{$self->{target_drive}}) {
|
||||||
my $bitmap = $self->{target_drive}->{$drive}->{bitmap};
|
my $bitmap = $self->{target_drive}->{$drive}->{bitmap};
|
||||||
next if !$bitmap;
|
next if !$bitmap;
|
||||||
$self->log('info', "$drive: removing block-dirty-bitmap '$bitmap'");
|
$self->log('info', "$drive: removing block-dirty-bitmap '$bitmap'");
|
||||||
|
Loading…
Reference in New Issue
Block a user