]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Use virFileFindResource to locate iohelper for fdstream
authorNehal J Wani <nehaljw.kkd1@gmail.com>
Tue, 25 Mar 2014 08:23:15 +0000 (13:53 +0530)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 25 Apr 2014 10:59:46 +0000 (11:59 +0100)
commitc8e22a4c77748fe4b0d38d3cc8124ea4ceed79ba
tree0cd84d03c12e72ae4b1eee182a13b059972ef1b1
parent12b8290fa59c899e07c71edf3c987e8612d8eec9
Use virFileFindResource to locate iohelper for fdstream

Instead of hardcoding LIBEXECDIR as the location of the libvirt_iohelper
binary, use virFileFindResource to optionally find it in the current
build directory.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/fdstream.c
src/fdstream.h
src/libvirt_private.syms
tests/fdstreamtest.c