[pve-devel] [PATCH qemu-server v5 22/32] backup: support 'missing-recreated' bitmap action

Fiona Ebner f.ebner at proxmox.com
Fri Mar 21 14:48:42 CET 2025


A new 'missing-recreated' action was added on the QEMU side.

Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
---

New in v5.

 PVE/VZDump/QemuServer.pm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/PVE/VZDump/QemuServer.pm b/PVE/VZDump/QemuServer.pm
index c2d64192..068046ae 100644
--- a/PVE/VZDump/QemuServer.pm
+++ b/PVE/VZDump/QemuServer.pm
@@ -316,6 +316,8 @@ my $bitmap_action_to_human = sub {
 	}
     } elsif ($action eq "invalid") {
 	return "existing bitmap was invalid and has been cleared";
+    } elsif ($action eq "missing-recreated") {
+	return "expected bitmap was missing and has been recreated";
     } else {
 	return "unknown";
     }
@@ -1372,6 +1374,7 @@ my sub backup_access_to_volume_info {
 	'new' => 'new',
 	'used' => 'reuse',
 	'invalid' => 'new',
+	'missing-recreated' => 'new',
     };
 
     my $volumes = {};
-- 
2.39.5





More information about the pve-devel mailing list