[libvirt] [PATCH 1/2] util: storage: Link to knowledge base when reporting missing image backing format

Daniel P. Berrangé berrange at redhat.com
Fri Jan 10 11:36:20 UTC 2020


On Fri, Jan 10, 2020 at 12:29:45PM +0100, Peter Krempa wrote:
> Mention the knowledge base article which has tips how to fix the backing
> chain to work with current libvirt.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>  src/util/virstoragefile.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/src/util/virstoragefile.c b/src/util/virstoragefile.c
> index e46ac99219..1397f532fd 100644
> --- a/src/util/virstoragefile.c
> +++ b/src/util/virstoragefile.c
> @@ -4979,7 +4979,8 @@ virStorageFileGetMetadataRecurse(virStorageSourcePtr src,
>               */
>              if (report_broken) {
>                  virReportError(VIR_ERR_OPERATION_INVALID,
> -                               _("format of backing image '%s' of image '%s' was not specified in the image metadata"),
> +                               _("format of backing image '%s' of image '%s' was not specified in the image metadata "
> +                                 "(See https://libvirt.org/kbase/backing_chains.html for troubleshooting)"),
>                                 src->backingStoreRaw, NULLSTR(src->path));
>                  return -1;

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list