[libvirt PATCH 27/31] src: unify virFileActivateDirOverride()
Ján Tomko
jtomko at redhat.com
Thu Jul 9 15:21:14 UTC 2020
On a Thursday in 2020, Pavel Hrdina wrote:
>We have two functions to set that we want to override directory where to
>look for libvirt files, one checks the binary name and the other one
>checks env variable.
>
>This patch removes the binary name check to simplify code by using only
>the env variable.
>
>This change will be required for Meson introduction where the binary
>name doesn't have any prefix by default.
>
>Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
>---
> src/libvirt.c | 2 +-
> src/libvirt_private.syms | 3 +--
> src/locking/lock_daemon.c | 2 +-
> src/logging/log_daemon.c | 2 +-
> src/qemu/qemu_shim.c | 2 +-
> src/remote/remote_daemon.c | 2 +-
> src/security/virt-aa-helper.c | 2 +-
> src/util/virfile.c | 25 +------------------------
> src/util/virfile.h | 4 +---
> tests/Makefile.am | 1 +
> tests/qemucapsprobe.c | 2 +-
> tests/testutils.c | 2 +-
> tools/virsh.c | 2 +-
> tools/virt-admin.c | 2 +-
> 14 files changed, 14 insertions(+), 39 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/20200709/3cf9d7f7/attachment-0001.sig>
More information about the libvir-list
mailing list