[PATCH 25/30] virStorageSourceParseBackingJSONUri: Handle undocumented value 'off' for sslverify

Ján Tomko jtomko at redhat.com
Fri Mar 13 06:04:38 UTC 2020


On a Monday in 2020, Peter Krempa wrote:
>libguestfs abuses a quirk of qemu's parser to accept also other variants
>of the 'sslverify' field which would be valid on the command line but
>are not documented in the QMP schema.
>
>If we encounter the 'off' string instead of an boolean handle it rather
>than erroring out to continue support of pre-blockdev configurations.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/util/virstoragefile.c | 21 ++++++++++++++-------
> tests/virstoragetest.c    | 15 +++++++++++++++
> 2 files changed, 29 insertions(+), 7 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200313/0add0ccc/attachment-0001.sig>


More information about the libvir-list mailing list