]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virshFindDisk: Use virXPathNodeSet instead of xmlXPathEval
authorPeter Krempa <pkrempa@redhat.com>
Wed, 19 Oct 2022 11:21:23 +0000 (13:21 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 2 Dec 2022 15:49:25 +0000 (16:49 +0100)
commitda31579d0b1fb1bbeb9c475a64c52dcc477cbfbd
treed95fd1a06f4d80ce823ae6bd140a9db58269d56c
parent3dd4971e299a0e6637061b4588942f8905cda507
virshFindDisk: Use virXPathNodeSet instead of xmlXPathEval

Don't open-code the XPath lookup.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tools/virsh-domain.c