]> git.proxmox.com Git - qemu-server.git/commitdiff
vzdump: drop legacy fallback logging for dirty-bitmap
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 2 Jun 2021 14:48:13 +0000 (16:48 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 2 Jun 2021 14:48:18 +0000 (16:48 +0200)
Users need to reboot at least once for the upgrade to 7.0, so any VM
running is then using a new enough QEMU...

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/VZDump/QemuServer.pm

index 42a60fc7377af6827b7caed45c8812966e6c1298..efa60e6b521964a5becb31f5d7dd737839d641dd 100644 (file)
@@ -329,7 +329,6 @@ my $query_backup_status_loop = sub {
        }
     }
 
-    my $first_round = 1;
     my $last_finishing = 0;
     while(1) {
        my $status = mon_cmd($vmid, 'query-backup');
@@ -362,11 +361,6 @@ my $query_backup_status_loop = sub {
        my $target_h = render_bytes($target, 1);
        my $transferred_h = render_bytes($transferred, 1);
 
-       if (!$has_query_bitmap && $first_round && $target != $total) { # FIXME: remove with PVE 7.0
-           my $total_h = render_bytes($total, 1);
-           $self->loginfo("using fast incremental mode (dirty-bitmap), $target_h dirty of $total_h total");
-       }
-
        my $statusline = sprintf("%3d%% ($transferred_h of $target_h) in %s"
            .", read: $mbps_read, write: $mbps_write", $percent, render_duration($duration));
 
@@ -401,7 +395,6 @@ my $query_backup_status_loop = sub {
            $last_finishing = $status->{finishing};
        }
        sleep(1);
-       $first_round = 0 if $first_round;
     }
 
     my $duration = time() - $starttime;