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.
Daniel
--
|:
http://berrange.com -o-
http://www.flickr.com/photos/dberrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|:
http://entangle-photo.org -o-
http://live.gnome.org/gtk-vnc :|