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
..
2014-04-09 16:47:26 +02:00
2013-02-12 09:00:15 -07:00
2014-04-07 06:14:45 -06:00
2014-04-07 06:14:45 -06:00
2014-02-18 14:46:49 +01:00
2014-04-08 11:15:55 +01:00
2013-12-24 17:36:47 +01:00
2013-12-24 17:36:47 +01:00
2014-04-07 06:14:45 -06:00
2014-04-07 06:14:45 -06:00
2014-03-04 12:24:13 +00:00
2014-03-04 12:24:13 +00:00
2013-04-12 16:55:45 -04:00
2014-03-04 12:24:13 +00:00