]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: fix parsing of NUMA settings in VM status XML
authorLuyao Huang <lhuang@redhat.com>
Thu, 19 Mar 2015 10:13:04 +0000 (18:13 +0800)
committerCole Robinson <crobinso@redhat.com>
Tue, 28 Apr 2015 15:06:42 +0000 (11:06 -0400)
commit28575e750f0e91692709d0890176c5f688c0124a
tree608eeff12807ed42ed72bde2e2573cbcfcd1709f
parenta883fb9c750998d56ce9232cba34dc48ccd3d43d
conf: fix parsing of NUMA settings in VM status XML

Commit 5bba61f changed the XPath strings to be absolute when parsing
the VM NUMA configuration. Unfortunately the <domain> element is not a
top level element when parsing the domain status XML thus the absolute
XPath string doesn't match.

Use the relative string so that the <numa> settings are not lost.

Signed-off-by: Luyao Huang <lhuang@redhat.com>
(cherry picked from commit d75e23bbfb92793ac6828a6eff6d909c5f92cc9b)
src/conf/numa_conf.c