On Tue, Aug 21, 2012 at 14:55:57 +0100, Daniel P. Berrange wrote:
On Tue, Aug 21, 2012 at 03:42:23PM +0200, Jiri Denemark wrote:
> 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 | 6 ++++--
> src/libvirt_private.syms | 1 +
> src/locking/lock_manager.c | 12 +++++++++++-
> src/locking/lock_manager.h | 1 +
> 4 files changed, 17 insertions(+), 3 deletions(-)
ACK, good idea.
Pushed, thanks.
Jirka