[PATCH 11/37] virDomainNetIPInfoParseXML: Don't force callers to set proper 'ctxt->node'

Ján Tomko jtomko at redhat.com
Wed Sep 21 14:16:18 UTC 2022


On a Monday in 2022, Peter Krempa wrote:
>In certain cases it's inconvenient to move the XPAth's context current

*XPath

>node in the caller. Add a 'node' argument and override it inside the
>function. VIR_XPATH_NODE_AUTORESTORE handles the cleanup.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/conf/domain_conf.c | 15 ++++++++-------
> 1 file changed, 8 insertions(+), 7 deletions(-)

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

Jano


More information about the libvir-list mailing list