]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: backend: Add possibility to suppress errors from backend lookup
authorPeter Krempa <pkrempa@redhat.com>
Thu, 24 Apr 2014 14:21:20 +0000 (16:21 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 3 Jun 2014 07:27:23 +0000 (09:27 +0200)
commitedfd6127c10e72aa71c2213c3332ef18b2cd7cc5
treeba45fc5d697cdb88a1b7c7e40c3a449ee0810a1b
parent29aabe73feea86d43eb7e91218411a80a9367ef5
storage: backend: Add possibility to suppress errors from backend lookup

Add a new function wrapper and tweak the storage file backend lookup
function so that it can be used without reporting error. This will be
useful in the metadata crawler code where we need silently break if
metadata retrieval is not supported for the current storage type.
src/storage/storage_backend.c
src/storage/storage_backend.h