libvirt/src/util
Martin Kletzander 4897698110 build: Don't use code with dbus_message_unref when built without dbus
In order to do that, virNodeSuspendSupportsTargetPMUtils() and
virSystemdPMSupportTarget() are created even when pm-utils and dbus
are compiled out, respectively, but in that case returning -2 meaning
"unavailable" (this return code was already used for unavailability
before).  Error is reported in virNodeSuspendSupportsTarget() only if
both functions returned -2, otherwise the error (or success) is properly
propagated up the stack.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
2014-04-14 18:19:36 +02:00
..
iohelper.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
keymaps.csv
viralloc.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
viralloc.h
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
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
virauthconfig.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virauthconfig.h
virbitmap.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virbitmap.h
virbuffer.c
virbuffer.h
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
virclosecallbacks.c hash: add common utility functions 2014-04-07 06:14:45 -06:00
virclosecallbacks.h
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
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 Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virdbus.h Allow caller to handle DBus error messages 2014-03-21 11:26:34 +00: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
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
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
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 util: new virFileRelLinkPointsTo function 2014-04-11 20:00:42 -06:00
virfile.h util: new virFileRelLinkPointsTo function 2014-04-11 20:00:42 -06: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
virhashcode.h
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
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
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
virkeycode-mapgen.py
virkeycode.c
virkeycode.h
virkeyfile.c hash: add common utility functions 2014-04-07 06:14:45 -06:00
virkeyfile.h
virkmod.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virkmod.h
virlockspace.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virlockspace.h
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
virmacaddr.h
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
virnetdevbridge.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virnetdevbridge.h
virnetdevmacvlan.c Use a static initializer for static mutexes 2014-04-08 13:46:29 +01:00
virnetdevmacvlan.h
virnetdevopenvswitch.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virnetdevopenvswitch.h
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
virnetdevvlan.c
virnetdevvlan.h
virnetdevvportprofile.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virnetdevvportprofile.h
virnetlink.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virnetlink.h
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
virnuma.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virnuma.h
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
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
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
virsocketaddr.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virsocketaddr.h
virstatslinux.c
virstatslinux.h
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 conf: delete internal directory field 2014-04-12 07:16:54 -06:00
virstoragefile.h conf: delete internal directory field 2014-04-12 07:16:54 -06:00
virstring.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01: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
virsystemd.c build: Don't use code with dbus_message_unref when built without dbus 2014-04-14 18:19:36 +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
virtime.c
virtime.h
virtpm.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virtpm.h
virtypedparam.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
virtypedparam.h
viruri.c Indent top-level labels by one space in src/util/ 2014-03-25 14:58:40 +01:00
viruri.h
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
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