[PATCH 29/43] virNetDevVlanParse: Use virXMLProp* helpers instead of XPath lookups

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


On a Monday in 2022, Peter Krempa wrote:
>The loop inside virNetDevVlanParse fetches multiple attributes from the
>element. Convert it to use the virXMLProp* helpers, which also
>simplifies error reporting.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/conf/netdev_vlan_conf.c | 39 ++++++++++++++++---------------------
> 1 file changed, 17 insertions(+), 22 deletions(-)
>

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

Jano


More information about the libvir-list mailing list