mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-04-30 12:46:00 +00:00
backup: support 'missing-recreated' bitmap action
A new 'missing-recreated' action was added on the QEMU side. Signed-off-by: Fiona Ebner <f.ebner@proxmox.com> Tested-by: Wolfgang Bumiller <w.bumiller@proxmox.com> Reviewed-by: Wolfgang Bumiller <w.bumiller@proxmox.com> Link: https://lore.proxmox.com/20250404133204.239783-20-f.ebner@proxmox.com
This commit is contained in:
parent
3ce3c029e0
commit
e74284d8c6
@ -316,6 +316,8 @@ my $bitmap_action_to_human = sub {
|
|||||||
}
|
}
|
||||||
} elsif ($action eq "invalid") {
|
} elsif ($action eq "invalid") {
|
||||||
return "existing bitmap was invalid and has been cleared";
|
return "existing bitmap was invalid and has been cleared";
|
||||||
|
} elsif ($action eq "missing-recreated") {
|
||||||
|
return "expected bitmap was missing and has been recreated";
|
||||||
} else {
|
} else {
|
||||||
return "unknown";
|
return "unknown";
|
||||||
}
|
}
|
||||||
@ -1372,6 +1374,7 @@ my sub backup_access_to_volume_info {
|
|||||||
'new' => 'new',
|
'new' => 'new',
|
||||||
'used' => 'reuse',
|
'used' => 'reuse',
|
||||||
'invalid' => 'new',
|
'invalid' => 'new',
|
||||||
|
'missing-recreated' => 'new',
|
||||||
};
|
};
|
||||||
|
|
||||||
my $volumes = {};
|
my $volumes = {};
|
||||||
|
Loading…
Reference in New Issue
Block a user