]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virStorageFileProbeGetMetadata: Do not partially skip probing of the image
authorPeter Krempa <pkrempa@redhat.com>
Thu, 23 Nov 2023 16:03:32 +0000 (17:03 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 27 Nov 2023 09:12:34 +0000 (10:12 +0100)
commit943c5758b0c00c788ea665bd833c585b724f2c25
treeaed8427b2d3f21a60b587b97ebab4548b9ebb95f
parent77ef7ede1642aa7ab030a66532ea43084bf95f68
virStorageFileProbeGetMetadata: Do not partially skip probing of the image

Since we consider the failure of parsing the backing store to be
actually success based on the value we return to the caller, we should
continue parsing also features and the 'compat' field so that we don't
have a partial definition if e.g. the backing store format is not known.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/storage_file/storage_file_probe.c