]> git.ipfire.org Git - thirdparty/libvirt.git/commit
daemon: Autodetect lock driver directory
authorJiri Denemark <jdenemar@redhat.com>
Tue, 21 Aug 2012 13:21:47 +0000 (15:21 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 21 Aug 2012 16:05:19 +0000 (18:05 +0200)
commit15f5e16f4e74fb7c2bd2d62ff7e1ce15b28f563f
tree9519531296ee0824d482e17faec3edb0dd2e3616
parent1a4379cb21e8b9060a29406c4d7af4615980e760
daemon: Autodetect lock driver directory

When running libvirtd from a build directory, libvirtd would load lock
drivers from system directory unless explicitly overridden by setting
LIBVIRT_LOCK_MANAGER_PLUGIN_DIR environment variable. Since we already
autodetect driver directory if libvirt is build with driver modules, we
can use the same trick to automagically set lock driver directory.
daemon/libvirtd.c
src/libvirt_private.syms
src/locking/lock_manager.c
src/locking/lock_manager.h