vddk: advise user on obscure thumbprint mismatch error condition
commitce6d20eee4f300bb5be68a0431d4098470c2a9fc
authorLaszlo Ersek <lersek@redhat.com>
Tue, 17 May 2022 08:02:28 +0000 (17 10:02 +0200)
committerLaszlo Ersek <lersek@redhat.com>
Tue, 17 May 2022 13:07:30 +0000 (17 15:07 +0200)
tree2daa0a97e185988803ad5e86a164478b9d780f0a
parent953643429b8c57b4dd20a6c0e5b83704ae9a0e88
vddk: advise user on obscure thumbprint mismatch error condition

If the thumbprint parameter is wrong, it's only reported in
VixDiskLib_Open(), and then with the non-descript VIX_E_FAIL error code.
If the user typed or cut-and-pasted the thumbprint incorrectly, said
"Unknown error" message is not helpful for fixing the nbkit command line.
Hint at the thumbprint as the potential culprit.

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1905772
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20220517080228.8713-1-lersek@redhat.com>
Acked-by: Richard W.M. Jones <rjones@redhat.com>
plugins/vddk/vddk-structs.h
plugins/vddk/vddk.c