[PATCH RESEND v3 1/8] virfile: introduce virFindFileInPathFull()

Andrea Bolognani abologna at redhat.com
Tue May 25 09:03:55 UTC 2021


On Tue, May 25, 2021 at 10:00:40AM +0200, Pavel Hrdina wrote:
> Extend virFindFileInPath to search in custom extra paths as well. Some
> binaries that libvirt needs are not usually in $PATH so we need to have
> a way to look for these as well.
>
> Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
> ---
>  src/libvirt_private.syms |  2 +-
>  src/util/virfile.c       | 16 ++++++++++++++--
>  src/util/virfile.h       |  5 ++++-
>  tests/testutilsqemu.c    |  3 ++-
>  tests/virfirewallmock.c  |  3 ++-
>  5 files changed, 23 insertions(+), 6 deletions(-)

Reviewed-by: Andrea Bolognani <abologna at redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list