]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: capabilities: Convert virQEMUCapsLoadCache to virXMLParse
authorPeter Krempa <pkrempa@redhat.com>
Fri, 23 Sep 2022 12:47:12 +0000 (14:47 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 6 Oct 2022 08:54:25 +0000 (10:54 +0200)
commit9b3828e2630470a866460ae4f402db2cd35457f7
tree761b30e17ba54c1ba915804cb71c80eccc3ca2c0
parent5d2f69aa68dc96d66a38f99d330c3320cbb3b949
qemu: capabilities: Convert virQEMUCapsLoadCache to virXMLParse

Use virXMLParse so that the code doesn't have to explicitly allocate
an XPath context and validate the root element.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_capabilities.c