libvirt/src/util
Daniel P. Berrange 63a92e7220 Add helpers for resolving path to resources in build tree
Add virFileFindResource which will try to locate files
in the local build tree if the calling binary (eg libvirtd or
test suite) is being run from the build tree. The corresponding
virFileActivateDirOverride should be called at startup passing
in argv[0]. This will be examined for evidence of libtool magic
binary prefix / sub-directory in order to activate the override.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2014-04-25 11:42:28 +01:00
..
iohelper.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
keymaps.csv Rsync keymaps.csv file with GTK-VNC 2012-01-12 20:44:55 +00:00
viralloc.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
viralloc.h viralloc.h: Fix typo in VIR_APPEND_ELEMENT_COPY_QUIT 2013-10-18 15:50:31 +02:00
virarch.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
virarch.h conf: Remove the implicit PS2 devices for non-X86 platforms 2014-02-19 09:16:31 +01:00
viratomic.c Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
viratomic.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
viraudit.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
viraudit.h Turn virLogSource into a struct instead of an enum 2014-03-18 14:29:22 +00:00
virauth.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virauth.h virAuth: Don't require virConnectPtr to retrieve authentication creds 2013-07-12 09:22:38 +02:00
virauthconfig.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virauthconfig.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virbitmap.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virbitmap.h util: Add a helper to check if all bits of a bitmap are clear 2013-04-06 10:14:21 +08:00
virbuffer.c maint: avoid 'const fooPtr' in several util files 2013-10-14 13:02:18 -06:00
virbuffer.h maint: avoid 'const fooPtr' in several util files 2013-10-14 13:02:18 -06:00
vircgroup.c Fix build on mingw32 2014-04-09 16:47:26 +02:00
vircgroup.h Extend virCgroupGetPercpuStats to fill in vcputime too 2014-04-09 16:24:08 +02:00
vircgrouppriv.h Track symlinks for co-mounted cgroup controllers 2013-04-15 17:35:32 +01:00
virclosecallbacks.c hash: add common utility functions 2014-04-07 06:14:45 -06:00
virclosecallbacks.h lxc: switch to virCloseCallbacks API 2013-07-18 14:16:54 +02:00
vircommand.c Shift the for loop over matched vars by one 2014-03-26 15:06:10 +01:00
vircommand.h Move virStorageBackendRun to vircommand 2014-03-20 18:04:50 +01:00
vircommandpriv.h Add ability to register callback for virCommand dry run 2014-03-19 10:47:58 +00:00
virconf.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virconf.h Improve virConf parse to handle LXC config format 2014-02-12 17:52:46 +00:00
vircrypto.c vircrypto: fix Invalid write in virCryptoHashString() 2014-03-12 16:01:30 -06:00
vircrypto.h Add helper APIs for generating cryptographic hashes 2014-03-10 16:39:18 +00:00
virdbus.c Fix virsystemdtest without SYSTEMD_DAEMON 2014-04-14 19:45:47 +02:00
virdbus.h Fix virsystemdtest without SYSTEMD_DAEMON 2014-04-14 19:45:47 +02:00
virdbuspriv.h Refactor dbus helper methods for method calls 2014-03-21 11:26:34 +00:00
virdnsmasq.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virdnsmasq.h use client id for IPv6 DHCP host definition 2013-02-25 02:49:06 -05:00
virebtables.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
virebtables.h Remove unused ebtablesRemoveForwardPolicyReject method 2014-03-11 11:01:52 +00:00
virendian.h util: add virendian.h macros 2013-02-12 09:00:15 -07:00
virerror.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virerror.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
virevent.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
virevent.h Rename event.{c,h} to virevent.{c,h} 2012-12-21 11:17:13 +00:00
vireventpoll.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
vireventpoll.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
virfile.c Add helpers for resolving path to resources in build tree 2014-04-25 11:42:28 +01:00
virfile.h Add helpers for resolving path to resources in build tree 2014-04-25 11:42:28 +01:00
virhash.c hash: add common utility functions 2014-04-07 06:14:45 -06:00
virhash.h hash: add common utility functions 2014-04-07 06:14:45 -06:00
virhashcode.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virhashcode.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virhook.c Use K&R style for curly braces in src/util/ 2014-03-20 17:16:18 +01:00
virhook.h network: Introduce network hooks 2014-02-18 14:46:49 +01:00
virhostdev.c Replace Pci with PCI throughout 2014-04-08 11:15:55 +01:00
virhostdev.h virhostdev.h: remove ATTRIBUTE_NONNULL from oldStateDir 2014-03-19 10:05:31 +01:00
viridentity.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
viridentity.h Also store user & group ID values in virIdentity 2013-09-18 15:04:27 +01:00
virinitctl.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virinitctl.h CVE-2013-6456: Avoid unsafe use of /proc/$PID/root in LXC shutdown/reboot code 2014-02-18 12:59:02 +00:00
viriptables.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
viriptables.h Fix bridge configuration when OUTPUT policy is DROP on the host 2014-01-07 18:18:29 +01:00
viriscsi.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
viriscsi.h util: Sanitize ATTRIBUTE_NONNULL use in viriscsi.h 2014-03-25 08:26:39 +01:00
virjson.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virjson.h json: support removing a value from an object 2013-05-13 15:15:54 -06:00
virkeycode-mapgen.py virkeycode: Allow ANSI_A 2013-12-24 17:36:47 +01:00
virkeycode.c virkeycode: Allow ANSI_A 2013-12-24 17:36:47 +01:00
virkeycode.h cleanup: Don't include libvirt/libvirt.h 2013-04-17 15:50:53 +08:00
virkeyfile.c hash: add common utility functions 2014-04-07 06:14:45 -06:00
virkeyfile.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virkmod.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virkmod.h utils: Introduce functions for kernel module manipulation 2014-02-04 08:52:27 -05:00
virlockspace.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virlockspace.h Rename json.{c,h} to virjson.{c,h} 2012-12-21 11:17:13 +00:00
virlog.c Coverity: Resolve a CHECKED_RETURN message 2014-03-25 17:13:27 -04:00
virlog.h Remove global log buffer feature entirely 2014-03-18 14:29:22 +00:00
virmacaddr.c maint: avoid 'const fooPtr' in several util files 2013-10-14 13:02:18 -06:00
virmacaddr.h maint: avoid 'const fooPtr' in several util files 2013-10-14 13:02:18 -06:00
virnetdev.c virNetDev{Replace,Restore}MacAddress: Fix memory leak 2014-04-08 10:51:53 +02:00
virnetdev.h Fixed const-ness of parameters in netdev/hostdev code 2014-03-12 16:03:06 +00:00
virnetdevbandwidth.c QoS: make tc filters match all traffic 2014-04-07 11:35:29 +02:00
virnetdevbandwidth.h Revert "networkAllocateActualDevice: Set QoS for bridgeless networks too" 2014-01-29 19:01:19 +01:00
virnetdevbridge.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virnetdevbridge.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virnetdevmacvlan.c Use a static initializer for static mutexes 2014-04-08 13:46:29 +01:00
virnetdevmacvlan.h maint: avoid 'const fooPtr' in virnet files 2013-10-14 13:05:34 -06:00
virnetdevopenvswitch.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virnetdevopenvswitch.h maint: avoid 'const fooPtr' in virnet files 2013-10-14 13:05:34 -06:00
virnetdevtap.c Move virBhyveTapGetRealDeviceName to virnetdevtap 2014-03-27 08:23:58 +04:00
virnetdevtap.h Move virBhyveTapGetRealDeviceName to virnetdevtap 2014-03-27 08:23:58 +04:00
virnetdevveth.c Use a static initializer for static mutexes 2014-04-08 13:46:29 +01:00
virnetdevveth.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virnetdevvlan.c maint: avoid 'const fooPtr' in virnet files 2013-10-14 13:05:34 -06:00
virnetdevvlan.h maint: avoid 'const fooPtr' in virnet files 2013-10-14 13:05:34 -06:00
virnetdevvportprofile.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virnetdevvportprofile.h maint: avoid 'const fooPtr' in virnet files 2013-10-14 13:05:34 -06:00
virnetlink.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virnetlink.h maint: avoid 'const fooPtr' in virnet files 2013-10-14 13:05:34 -06:00
virnodesuspend.c build: Don't use code with dbus_message_unref when built without dbus 2014-04-14 18:19:36 +02:00
virnodesuspend.h Separate internal node suspend APIs from public API 2013-05-08 10:47:47 +01:00
virnuma.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virnuma.h numa: Add wrapper of numa_node_to_cpus and use it 2013-11-04 10:50:20 +01:00
virobject.c hash: add common utility functions 2014-04-07 06:14:45 -06:00
virobject.h hash: add common utility functions 2014-04-07 06:14:45 -06:00
virpci.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virpci.h add 'driver' info to used_by 2014-03-04 12:24:13 +00:00
virpidfile.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virpidfile.h Add parameter to wait for lock in file locking APIs 2014-03-17 10:04:47 -06:00
virportallocator.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virportallocator.h Add a name to virPortAllocator 2013-11-18 12:28:02 +01:00
virprobe.h Turn virLogSource into a struct instead of an enum 2014-03-18 14:29:22 +00:00
virprocess.c util: fix a typo in virprocess.c and docs 2014-03-27 06:58:46 -06:00
virprocess.h util: make it easier to grab only regular process exit 2014-03-03 12:40:31 -07:00
virrandom.c Use a static initializer for static mutexes 2014-04-08 13:46:29 +01:00
virrandom.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virscsi.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virscsi.h add 'driver' info to used_by 2014-03-04 12:24:13 +00:00
virseclabel.c conf: split security label structs to util/ 2014-04-01 10:38:12 -06:00
virseclabel.h conf: split security label structs to util/ 2014-04-01 10:38:12 -06:00
virsexpr.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virsexpr.h Rename sexpr.{c,h} to virsexpr.{c,h} 2012-12-21 11:19:48 +00:00
virsocketaddr.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virsocketaddr.h maint: avoid 'const fooPtr' in several util files 2013-10-14 13:02:18 -06:00
virstatslinux.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
virstatslinux.h Rename stats_linux.{c,h} to virstatslinux.{c,h} 2012-12-21 11:19:48 +00:00
virstorageencryption.c conf: move storage encryption type to util/ 2014-04-01 10:38:13 -06:00
virstorageencryption.h conf: move storage encryption type to util/ 2014-04-01 10:38:13 -06:00
virstoragefile.c Add support for addressing backing stores by index 2014-04-25 11:11:03 +02:00
virstoragefile.h Add support for addressing backing stores by index 2014-04-25 11:11:03 +02:00
virstring.c Fix typos in src/* 2014-04-21 16:49:08 -06:00
virstring.h Add virStringReplace method for substring replacement 2014-02-24 10:51:22 +00:00
virsysinfo.c Define CPUINFO_FILE_LEN and fix maxlen of cpuinfo file for all uses 2014-04-04 08:08:52 +02:00
virsysinfo.h Rename util.{c,h} to virutil.{c,h} 2012-12-21 11:19:49 +00:00
virsystemd.c Fix virsystemdtest without SYSTEMD_DAEMON 2014-04-14 19:45:47 +02:00
virsystemd.h Introduce --without-pm-utils to get rid of pm-is-supported dependency 2014-04-11 15:51:10 -06:00
virthread.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virthread.h Use a static initializer for static mutexes 2014-04-08 13:46:29 +01:00
virthreadpool.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virthreadpool.h Rename threadpool.{c,h} to virthreadpool.{c,h} 2012-12-21 11:19:48 +00:00
virtime.c Adapt to VIR_ALLOC and virAsprintf in src/util/* 2013-07-10 11:07:33 +02:00
virtime.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virtpm.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virtpm.h Helper functions for host TPM support 2013-04-12 16:55:45 -04:00
virtypedparam.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virtypedparam.h Introduce virTypedParamsCopy internal API 2013-06-25 00:38:25 +02:00
viruri.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
viruri.h Fix crash accessing a NULL URI when looking up auth credentials 2012-09-21 10:13:53 +01:00
virusb.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virusb.h add 'driver' info to used_by 2014-03-04 12:24:13 +00:00
virutil.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virutil.h Use K&R style for curly braces in src/util/ 2014-03-20 17:16:18 +01:00
viruuid.c Use K&R style for curly braces in src/util/ 2014-03-20 17:16:18 +01:00
viruuid.h maint: improve debug of libvirt-{qemu,lxc} apis 2014-01-02 22:17:11 -07:00
virxml.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virxml.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00