Use virFileFindResource to locate libvirtd daemon

Make the remote driver use virFileFindResource to find the
libvirt daemon path, so that it executes the in-builddir
daemon if run from source tree.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrange
2014-04-25 11:55:32 +01:00
parent eec2f65946
commit 57e5c3c2ae
2 changed files with 7 additions and 39 deletions

2
run.in
View File

@@ -56,7 +56,7 @@ export LD_LIBRARY_PATH
export LIBVIRT_DRIVER_DIR="$b/src/.libs"
export LIBVIRT_LOCK_MANAGER_PLUGIN_DIR="$b/src/.libs"
export VIRTLOCKD_PATH="$b/src/virtlockd"
export LIBVIRTD_PATH="$b/daemon/libvirtd"
export LIBVIRTD_PATH="$b/daemon"
# This is a cheap way to find some use-after-free and uninitialized
# read problems when using glibc.