]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virQEMUCapsLoadCache: Parse <selfvers/> properly
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 3 Jan 2023 16:54:57 +0000 (17:54 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 4 Jan 2023 15:21:58 +0000 (16:21 +0100)
commit78b3400e50ee0ba01575749728aae9c79d9d116b
treed9d0d2acc18bcfa99d8a5a63ae3bbb2fba20c4ee
parentee394550dfa38e195a8b1d621c67139a0a1411f2
virQEMUCapsLoadCache: Parse <selfvers/> properly

In a recent commit, when ditching virXPathULong() the parsing of
<selfvers/> was changed. But it was changed to virXMLPropUInt()
which is not correct because the value we're interested in is not
in an attribute but element itself.

Fixes: a3c7426839df25f4026707c5877be75f2461f5e9
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
src/qemu/qemu_capabilities.c