remote: fix path for locating libvirtd in source tree during autostart

Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé 2018-03-22 14:53:55 +00:00
parent 78038351c7
commit 6f2c56d918

View File

@ -1063,7 +1063,7 @@ doRemoteOpen(virConnectPtr conn,
if ((flags & VIR_DRV_OPEN_REMOTE_AUTOSTART) &&
!(daemonPath = virFileFindResourceFull("libvirtd",
NULL, NULL,
abs_topbuilddir "/daemon",
abs_topbuilddir "/src",
SBINDIR,
"LIBVIRTD_PATH")))
goto failed;