]> git.ipfire.org Git - thirdparty/libvirt.git/commit
cpu_x86: Simplify x86ParseCPUID
authorTim Wiederhake <twiederh@redhat.com>
Tue, 12 Oct 2021 15:39:14 +0000 (17:39 +0200)
committerTim Wiederhake <twiederh@redhat.com>
Fri, 5 Nov 2021 16:12:24 +0000 (17:12 +0100)
commit3092ee9e9ea500e59b0fd8371da1a33caa71c972
tree0fe099bb608a3bddbcfb4f14e066df93355fcdb3
parentebd796b811bcb3bf2622c1abe4a9af2c6a9b1cbb
cpu_x86: Simplify x86ParseCPUID

... by using virXMLProp*() helpers. These only require a xmlNodePtr and
do not need a xmlXPathContextPtr. Reflect that in the function signature.

Signed-off-by: Tim Wiederhake <twiederh@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/cpu/cpu_x86.c