[PATCH 26/43] virNetDevIPRouteParseXML: Refactor to use 'virXMLProp*' instead of XPath

Ján Tomko jtomko at redhat.com
Tue Nov 1 17:23:30 UTC 2022


On a Monday in 2022, Peter Krempa wrote:
>The function extracts multiple attributes form a single element. Modify
>the function to stop using multiple XPath lookups.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/conf/domain_conf.c        |  2 +-
> src/conf/network_conf.c       |  4 +--
> src/conf/networkcommon_conf.c | 61 +++++++++--------------------------
> src/conf/networkcommon_conf.h |  3 +-
> 4 files changed, 19 insertions(+), 51 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano


More information about the libvir-list mailing list