[libvirt] [PATCH 6/6] Allow caller to handle DBus error messages

Michal Privoznik mprivozn at redhat.com
Thu Mar 20 17:15:46 UTC 2014


On 20.03.2014 13:28, Daniel P. Berrange wrote:
> The caller may not want all DBus error conditions to be turned
> into libvirt errors, so provide a way for the caller to get
> back the full DBusError object. They can then check the errors
> and only report those that they consider to be fatal.
>
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>   src/util/virdbus.c    | 46 ++++++++++++++++++++++++++++++++++++----------
>   src/util/virdbus.h    |  5 ++++-
>   src/util/virsystemd.c |  2 ++
>   3 files changed, 42 insertions(+), 11 deletions(-)

ACK

Michal




More information about the libvir-list mailing list