]> xenbits.xensource.com Git - libvirt.git/commit
conf: Move NUMA cell parsing code from cpu conf to numa conf
authorPeter Krempa <pkrempa@redhat.com>
Wed, 11 Feb 2015 11:27:53 +0000 (12:27 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 20 Feb 2015 16:43:03 +0000 (17:43 +0100)
commit5bba61fd58241d56f6e6433f00ee0083fe8b4156
tree2892e675a510319f9656762e52645ee0bce374b4
parentfcee64e73cae989ac5fb4e005f1e707abf03a128
conf: Move NUMA cell parsing code from cpu conf to numa conf

For weird historical reasons NUMA cells are added as a subelement of
<cpu> while the actual configuration is done in <numatune>.

This patch splits out the cell parser code from cpu config to NUMA
config. Note that the changes to the code are minimal just to make it
work and the function will be refactored in the next patch.
src/conf/cpu_conf.c
src/conf/domain_conf.c
src/conf/numa_conf.c
src/conf/numa_conf.h