]> git.ipfire.org Git - thirdparty/libvirt.git/commit
cpu_x86: Simplify x86ParseMSR
authorTim Wiederhake <twiederh@redhat.com>
Tue, 12 Oct 2021 15:45:32 +0000 (17:45 +0200)
committerTim Wiederhake <twiederh@redhat.com>
Fri, 5 Nov 2021 16:12:24 +0000 (17:12 +0100)
commitcab9be89b9b09790e4981d2754571b25aca61449
tree727f699432ea19d2c035c28f8637d225dadd5497
parent3092ee9e9ea500e59b0fd8371da1a33caa71c972
cpu_x86: Simplify x86ParseMSR

... 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