[libvirt] [PATCH 2/3] Use virFileFindResource to locate virtlockd daemon
Eric Blake
eblake at redhat.com
Fri Apr 25 14:04:04 UTC 2014
On 04/25/2014 05:28 AM, Daniel P. Berrange wrote:
> Make the lock plugin use virFileFindResource to find the
> virtlockd daemon path, so that it executes the in-builddir
> daemon if run from source tree.
>
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
> src/locking/lock_driver_lockd.c | 25 +++++++------------------
> 1 file changed, 7 insertions(+), 18 deletions(-)
>
> -static const char *
> -virLockManagerLockDaemonFindDaemon(void)
> -{
> - const char *customDaemon = virGetEnvBlockSUID("VIRTLOCKD_PATH");
> -
> - if (customDaemon)
> - return customDaemon;
> -
As in 1/3, this is a change in semantics, where VIRTLOCKD_PATH used to
be "/path/to/virtlockd" and is now "/path/to"; but was otherwise
undocumented.
ACK.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140425/ce83b56f/attachment-0001.sig>
More information about the libvir-list
mailing list