]> git.proxmox.com Git - qemu-server.git/commit
vzdump: improve logging output with dirty bitmaps
authorStefan Reiter <s.reiter@proxmox.com>
Wed, 19 Aug 2020 15:02:01 +0000 (17:02 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 19 Aug 2020 16:20:34 +0000 (18:20 +0200)
commit3a44897f74bbaf27c1b44bd3c0c7d6fdc06b8a9f
tree5bb3be4f9673f7f4d67af1548c49e02d30675354
parentb2e813a6d575268f1544d4941739dbe0694d0278
vzdump: improve logging output with dirty bitmaps

Uses the new 'query-pbs-bitmap-info' QMP call to retrieve additional
information about each drive's dirty bitmap. Returned info is also used
to calculate $target by simply adding all the dirty values (dirty is
equal to size in case the entire drive will be backed up).

"Backup is sparse" message is suppressed for PBS, since it makes little
sense (if zero chunks appear in the clean area of a bitmap, they won't
be counted, and a user is probably more interested in the 'reused' data
anyway).

Also removes the need for the hacky $first_round query-backup handling.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
PVE/VZDump/QemuServer.pm