mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-04-28 15:47:21 +00:00
vzdump: tpmstate: include HMP error in message
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
93e3f756c4
commit
df28f8cc0b
@ -444,7 +444,7 @@ my $attach_tpmstate_drive = sub {
|
||||
my $drive = "file=$task->{tpmpath},if=none,read-only=on,id=drive-tpmstate0-backup";
|
||||
$drive =~ s/\\/\\\\/g;
|
||||
my $ret = PVE::QemuServer::Monitor::hmp_cmd($vmid, "drive_add auto \"$drive\"");
|
||||
die "attaching TPM drive failed\n" if $ret !~ m/OK/s;
|
||||
die "attaching TPM drive failed - $ret\n" if $ret !~ m/OK/s;
|
||||
};
|
||||
|
||||
my $detach_tpmstate_drive = sub {
|
||||
|
Loading…
Reference in New Issue
Block a user