[PATCH 09/11] virDomainHostdevSubsysSCSIiSCSIDefParseXML: Use XPath to fetch elements

Ján Tomko jtomko at redhat.com
Thu Jul 16 12:41:13 UTC 2020


On a Tuesday in 2020, Peter Krempa wrote:
>Conver the code to the new approach which uses XPath to fetch known
>elements rather than looping through all XML children.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/conf/domain_conf.c | 51 ++++++++++++++++--------------------------
> 1 file changed, 19 insertions(+), 32 deletions(-)
>

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

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200716/62383865/attachment-0001.sig>


More information about the libvir-list mailing list