]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/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)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 24 Mar 2015 12:52:24 +0000 (13:52 +0100)
commitd75e23bbfb92793ac6828a6eff6d909c5f92cc9b
tree38630fa3526a552d37446dded414682ac6bac46a
parent3b289a81eaa49fd96b829cf47ea5c6d84e4f65c2
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>
src/conf/numa_conf.c