[libvirt] [PATCH 1/9] util: xml: Add wrapper for xmlXPathNewContext

Jiri Denemark jdenemar at redhat.com
Wed Sep 18 17:56:00 UTC 2019


On Mon, Sep 16, 2019 at 14:17:04 +0200, Peter Krempa wrote:
> The wrapper reports libvirt errors for the libxml2 function so that
> the same does not have to be repeated over and over.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>  src/conf/checkpoint_conf.c       |  5 +----
>  src/conf/domain_conf.c           |  9 ++-------
>  src/conf/interface_conf.c        |  5 +----
>  src/conf/network_conf.c          |  5 +----
>  src/conf/node_device_conf.c      |  5 +----
>  src/conf/nwfilter_conf.c         |  5 +----
>  src/conf/secret_conf.c           |  6 ++----
>  src/conf/snapshot_conf.c         |  5 +----
>  src/conf/storage_conf.c          | 10 ++--------
>  src/conf/virnetworkportdef.c     |  5 +----
>  src/conf/virnwfilterbindingdef.c |  5 +----
>  src/conf/virnwfilterbindingobj.c |  5 +----
>  src/libvirt_private.syms         |  1 +
>  src/qemu/qemu_capabilities.c     |  4 +---
>  src/util/virxml.c                | 20 ++++++++++++++++----
>  src/util/virxml.h                |  3 +++
>  src/vbox/vbox_snapshot_conf.c    | 17 ++++++++---------
>  src/vz/vz_sdk.c                  |  6 ++----
>  18 files changed, 46 insertions(+), 75 deletions(-)

Reviewed-by: Jiri Denemark <jdenemar at redhat.com>




More information about the libvir-list mailing list