mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-04-28 18:58:27 +00:00
backup: bitmap action to human: lie about TPM state
The TPM state drive is newly attached each time, so it is fully expected that a bitmap from last time would be missing. 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-21-f.ebner@proxmox.com
This commit is contained in:
parent
e74284d8c6
commit
d106717895
@ -317,6 +317,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") {
|
||||
# Lie about the TPM state, because it is newly attached each time.
|
||||
return "created new" if $info->{drive} eq 'drive-tpmstate0-backup';
|
||||
return "expected bitmap was missing and has been recreated";
|
||||
} else {
|
||||
return "unknown";
|
||||
|
Loading…
Reference in New Issue
Block a user